Skip to content

Commit

Permalink
Merge pull request #87169 from 0x0ACB/debugger_deadlock
Browse files Browse the repository at this point in the history
Fix deadlock in `RemoteDebugger::debug`
  • Loading branch information
akien-mga committed Jan 16, 2024
2 parents db71754 + c976306 commit 1debbaa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core/debugger/remote_debugger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 1debbaa

Please sign in to comment.