summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorallkhor <say2word@gmail.com>2018-10-11 20:02:55 +0600
committerallkhor <say2word@gmail.com>2018-10-11 20:02:55 +0600
commit9fc71d3472329d14d024e67bec682da904806e02 (patch)
tree92493e6edca6dce1d757ea187eeda67c905600c3
parent4c1a5d9cfe2da761bfe17d52126deabc1f1c1bd3 (diff)
Cleanup the editor history from remote nodes after the scene stopped.
-rw-r--r--editor/script_editor_debugger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/script_editor_debugger.cpp b/editor/script_editor_debugger.cpp
index 6fbac0d4b5..58d6d2c5fb 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<StreamPeer>());
if (connection.is_valid()) {