Merge pull request #48079 from sboron/fix-47643-remote

Fix Closing Running Game, still shows remote and local tabs
This commit is contained in:
Fabio Alessandrelli 2021-04-23 02:59:37 +02:00 committed by GitHub
commit 6cfbf36338
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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();