Merge branch 'ns/threadutil-remove-os._exit' into next

This commit is contained in:
Nicolas Sebrecht 2011-05-16 18:26:40 +02:00
commit ea8c1c0b6a

View File

@ -122,12 +122,10 @@ def threadexited(thread):
raise SystemExit
ui.threadException(thread) # Expected to terminate
sys.exit(100) # Just in case...
os._exit(100)
elif thread.getExitMessage() == 'SYNC_WITH_TIMER_TERMINATE':
ui.terminate()
# Just in case...
sys.exit(100)
os._exit(100)
else:
ui.threadExited(thread)