1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-18 14:21:41 +00:00

fix stop debugger on closing game

This commit is contained in:
Stefan Boronczyk
2021-04-22 08:49:12 +02:00
parent c395b9c4ac
commit 7b9a9e57a7

View File

@@ -209,7 +209,7 @@ void EditorDebuggerNode::stop() {
// Also close all debugging sessions. // Also close all debugging sessions.
_for_all(tabs, [&](ScriptEditorDebugger *dbg) { _for_all(tabs, [&](ScriptEditorDebugger *dbg) {
if (dbg->is_session_active()) { if (dbg->is_session_active()) {
dbg->stop(); dbg->_stop_and_notify();
} }
}); });
_break_state_changed(); _break_state_changed();