summaryrefslogtreecommitdiffstats
path: root/core/debugger
diff options
context:
space:
mode:
authorACB <ansas.bogdan@rwth-aachen.de>2024-01-14 11:07:14 +0100
committerACB <ansas.bogdan@rwth-aachen.de>2024-01-14 11:07:14 +0100
commitc9763066284c99f4d19b7120f19e0090efc7d5dd (patch)
tree3a43604fae640136d04d787af4574552e30ff875 /core/debugger
parent26b1fd0d842fa3c2f090ead47e8ea7cd2d6515e1 (diff)
downloadredot-engine-c9763066284c99f4d19b7120f19e0090efc7d5dd.tar.gz
fix deadlock in RemoteDebugger::debug
Diffstat (limited to 'core/debugger')
-rw-r--r--core/debugger/remote_debugger.cpp2
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();