Merge pull request #87169 from 0x0ACB/debugger_deadlock
Fix deadlock in `RemoteDebugger::debug`
This commit is contained in:
commit
1debbaa468
1 changed files with 0 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue