Fixed failed to connect to remote debugger with -rdebug will crash engine

This commit is contained in:
marynate 2014-07-15 11:22:24 +08:00
parent 9ff6d55822
commit cb127b86f4
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ public:
virtual void set_request_scene_tree_message_func(RequestSceneTreeMessageFunc p_func, void *p_udata) {} virtual void set_request_scene_tree_message_func(RequestSceneTreeMessageFunc p_func, void *p_udata) {}
ScriptDebugger(); ScriptDebugger();
virtual ~ScriptDebugger() {} virtual ~ScriptDebugger() {singleton=NULL;}
}; };