mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
fix stop debugger on closing game
This commit is contained in:
parent
c395b9c4ac
commit
7b9a9e57a7
@ -209,7 +209,7 @@ void EditorDebuggerNode::stop() {
|
||||
// Also close all debugging sessions.
|
||||
_for_all(tabs, [&](ScriptEditorDebugger *dbg) {
|
||||
if (dbg->is_session_active()) {
|
||||
dbg->stop();
|
||||
dbg->_stop_and_notify();
|
||||
}
|
||||
});
|
||||
_break_state_changed();
|
||||
|
Loading…
Reference in New Issue
Block a user