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

View file

@ -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;}
};