You've already forked godot
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:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user