mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Adapter no longer waits for the IDE to connect if all debug servers have disconnected.
This commit is contained in:
parent
d4df143343
commit
49bb3e31d0
1 changed files with 2 additions and 2 deletions
|
|
@ -303,8 +303,8 @@ def wait_until_ended():
|
|||
A session ends when all components that it manages disconnect from it.
|
||||
"""
|
||||
while True:
|
||||
_sessions_changed.wait()
|
||||
with _lock:
|
||||
_sessions_changed.clear()
|
||||
if not len(_sessions):
|
||||
return
|
||||
_sessions_changed.clear()
|
||||
_sessions_changed.wait()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue