Merge branch 'ns/threadutil-remove-os._exit' into next
This commit is contained in:
commit
ea8c1c0b6a
@ -122,12 +122,10 @@ def threadexited(thread):
|
|||||||
raise SystemExit
|
raise SystemExit
|
||||||
ui.threadException(thread) # Expected to terminate
|
ui.threadException(thread) # Expected to terminate
|
||||||
sys.exit(100) # Just in case...
|
sys.exit(100) # Just in case...
|
||||||
os._exit(100)
|
|
||||||
elif thread.getExitMessage() == 'SYNC_WITH_TIMER_TERMINATE':
|
elif thread.getExitMessage() == 'SYNC_WITH_TIMER_TERMINATE':
|
||||||
ui.terminate()
|
ui.terminate()
|
||||||
# Just in case...
|
# Just in case...
|
||||||
sys.exit(100)
|
sys.exit(100)
|
||||||
os._exit(100)
|
|
||||||
else:
|
else:
|
||||||
ui.threadExited(thread)
|
ui.threadExited(thread)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user