You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
Fix debugger immediate disconnect
Address https://github.com/godotengine/godot/issues/108518
This commit is contained in:
@@ -311,7 +311,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();
|
||||
|
||||
Reference in New Issue
Block a user