Always stop script debugger when stopping game
This commit is contained in:
parent
1559ab34c6
commit
d1a5d9da3e
1 changed files with 1 additions and 3 deletions
|
|
@ -321,9 +321,7 @@ void EditorDebuggerNode::stop(bool p_force) {
|
|||
|
||||
// Also close all debugging sessions.
|
||||
_for_all(tabs, [&](ScriptEditorDebugger *dbg) {
|
||||
if (dbg->is_session_active()) {
|
||||
dbg->_stop_and_notify();
|
||||
}
|
||||
dbg->_stop_and_notify();
|
||||
});
|
||||
_break_state_changed();
|
||||
breakpoints.clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue