diff --git a/trytond/netsvc.py b/trytond/netsvc.py index a002e11029..8978ac2c0b 100644 --- a/trytond/netsvc.py +++ b/trytond/netsvc.py @@ -287,6 +287,7 @@ class TinySocketServerThread(threading.Thread): try: thread = self.threads[0] thread.stop() + time.sleep(0.001) #sleep to let thread running except: pass try: