Selaa lähdekoodia

Cleanup the editor history from remote nodes after the scene stopped.

allkhor 6 vuotta sitten
vanhempi
commit
9fc71d3472
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      editor/script_editor_debugger.cpp

+ 1 - 1
editor/script_editor_debugger.cpp

@@ -1272,7 +1272,7 @@ void ScriptEditorDebugger::stop() {
 	breaked = false;
 
 	server->stop();
-
+	_clear_remote_objects();
 	ppeer->set_stream_peer(Ref<StreamPeer>());
 
 	if (connection.is_valid()) {