Browse Source

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

allkhor 6 years ago
parent
commit
9fc71d3472
1 changed files with 1 additions and 1 deletions
  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()) {