1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Prevent race condition on initial breakpoints from DAP

This commit is contained in:
Ricardo Subtil
2023-11-14 15:08:36 +00:00
parent 6afd320984
commit 485342408b
4 changed files with 28 additions and 3 deletions

View File

@@ -678,7 +678,10 @@ bool DebugAdapterProtocol::process_message(const String &p_text) {
if (!response.is_empty()) {
_current_peer->res_queue.push_front(response);
} else {
completed = false;
// Launch request needs to be deferred until we receive a configurationDone request.
if (command != "req_launch") {
completed = false;
}
}
}