Revert "Always stop script debugger when stopping game"
This reverts commit d1a5d9da3e.
This unfortunately breaks the DAP.
Fixes #115188.
This commit is contained in:
parent
6b76a5a8dc
commit
dc1a92b9a2
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