Fix Debugger crashes with "Process finished with exit code 137" (PY-14969)

Do not finish debugging session by force in CheckOutputThread if there are alive daemon threads.
This commit is contained in:
Elizaveta Shashkova
2015-06-25 14:05:38 +03:00
parent 0aa2da3511
commit 9ae27b7ab2

View File

@@ -423,7 +423,7 @@ class PyDB:
pydev_log.error_once( pydev_log.error_once(
'Error in debugger: Found PyDBDaemonThread not marked with is_pydev_daemon_thread=True.\n') 'Error in debugger: Found PyDBDaemonThread not marked with is_pydev_daemon_thread=True.\n')
if isThreadAlive(t) and not t.isDaemon(): if isThreadAlive(t):
return True return True
return False return False