summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarynate <mary.w.nate@gmail.com>2014-07-15 11:22:24 +0800
committermarynate <mary.w.nate@gmail.com>2014-07-15 11:23:52 +0800
commitcb127b86f47dd732ffedc782038fec69930687d0 (patch)
treefaecfebe9da08ee7423d7c88289e174452ae9862
parent9ff6d55822647c87eef392147ea15641d0922d47 (diff)
Fixed failed to connect to remote debugger with -rdebug will crash engine
-rw-r--r--core/script_language.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/script_language.h b/core/script_language.h
index 8c59a9e6b8..f4956accd3 100644
--- a/core/script_language.h
+++ b/core/script_language.h
@@ -246,7 +246,7 @@ public:
virtual void set_request_scene_tree_message_func(RequestSceneTreeMessageFunc p_func, void *p_udata) {}
ScriptDebugger();
- virtual ~ScriptDebugger() {}
+ virtual ~ScriptDebugger() {singleton=NULL;}
};