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.
_for_all(tabs, [&](ScriptEditorDebugger *dbg) {
if (dbg->is_session_active()) {
dbg->stop();
dbg->_stop_and_notify();
}
});
_break_state_changed();