Merge pull request #115208 from akien-mga/revert-114457
Revert "Always stop script debugger when stopping game"
This commit is contained in:
commit
8b2d988ba7
1 changed files with 3 additions and 1 deletions
|
|
@ -322,7 +322,9 @@ void EditorDebuggerNode::stop(bool p_force) {
|
|||
|
||||
// Also close all debugging sessions.
|
||||
_for_all(tabs, [&](ScriptEditorDebugger *dbg) {
|
||||
dbg->_stop_and_notify();
|
||||
if (dbg->is_session_active()) {
|
||||
dbg->_stop_and_notify();
|
||||
}
|
||||
});
|
||||
_break_state_changed();
|
||||
breakpoints.clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue