mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fix warning about thread.
This commit is contained in:
@@ -522,12 +522,11 @@ class PyDB:
|
||||
for t in all_threads:
|
||||
thread_id = GetThreadId(t)
|
||||
|
||||
if isinstance(t, PyDBDaemonThread):
|
||||
pydev_log.error_once('Found PyDBDaemonThread in threading.enumerate.')
|
||||
|
||||
elif getattr(t, 'is_pydev_daemon_thread', False):
|
||||
if getattr(t, 'is_pydev_daemon_thread', False):
|
||||
pass # I.e.: skip the DummyThreads created from pydev daemon threads
|
||||
|
||||
elif isinstance(t, PyDBDaemonThread):
|
||||
pydev_log.error_once('Error in debugger: Found PyDBDaemonThread not marked with is_pydev_daemon_thread=True.\n')
|
||||
|
||||
elif isThreadAlive(t):
|
||||
program_threads_alive[thread_id] = t
|
||||
|
||||
|
||||
Reference in New Issue
Block a user