diff options
author | ACB <ansas.bogdan@rwth-aachen.de> | 2024-01-14 11:07:14 +0100 |
---|---|---|
committer | ACB <ansas.bogdan@rwth-aachen.de> | 2024-01-14 11:07:14 +0100 |
commit | c9763066284c99f4d19b7120f19e0090efc7d5dd (patch) | |
tree | 3a43604fae640136d04d787af4574552e30ff875 /core/debugger | |
parent | 26b1fd0d842fa3c2f090ead47e8ea7cd2d6515e1 (diff) | |
download | redot-engine-c9763066284c99f4d19b7120f19e0090efc7d5dd.tar.gz |
fix deadlock in RemoteDebugger::debug
Diffstat (limited to 'core/debugger')
-rw-r--r-- | core/debugger/remote_debugger.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/debugger/remote_debugger.cpp b/core/debugger/remote_debugger.cpp index a817ea871d..ce675d6b06 100644 --- a/core/debugger/remote_debugger.cpp +++ b/core/debugger/remote_debugger.cpp @@ -435,9 +435,7 @@ void RemoteDebugger::debug(bool p_can_continue, bool p_is_error_breakpoint) { messages.insert(Thread::get_caller_id(), List<Message>()); } - mutex.lock(); while (is_peer_connected()) { - mutex.unlock(); flush_output(); _poll_messages(); |