mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 05:09:37 +07:00
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user