diff --git a/editor/script_editor_debugger.cpp b/editor/script_editor_debugger.cpp index a36a844710..ab3e3b9a49 100644 --- a/editor/script_editor_debugger.cpp +++ b/editor/script_editor_debugger.cpp @@ -1272,7 +1272,7 @@ void ScriptEditorDebugger::stop() { breaked = false; server->stop(); - + _clear_remote_objects(); ppeer->set_stream_peer(Ref()); if (connection.is_valid()) {