Fix client thread stop with psyco enabled

This commit is contained in:
Cédric Krier committed 2009-02-11 19:13:49 +01:00
1 parent 5594bb4e11
commit 42c7e522f5
1 file changed
+1
+1
View File
@@ -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: