You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
fix deadlock in RemoteDebugger::debug
This commit is contained in:
@@ -435,9 +435,7 @@ void RemoteDebugger::debug(bool p_can_continue, bool p_is_error_breakpoint) {
|
|||||||
messages.insert(Thread::get_caller_id(), List<Message>());
|
messages.insert(Thread::get_caller_id(), List<Message>());
|
||||||
}
|
}
|
||||||
|
|
||||||
mutex.lock();
|
|
||||||
while (is_peer_connected()) {
|
while (is_peer_connected()) {
|
||||||
mutex.unlock();
|
|
||||||
flush_output();
|
flush_output();
|
||||||
|
|
||||||
_poll_messages();
|
_poll_messages();
|
||||||
|
|||||||
Reference in New Issue
Block a user