From 31953b19b805facde2114855563540a81bf9bdd8 Mon Sep 17 00:00:00 2001 From: Mattes D Date: Sun, 5 Apr 2015 17:07:10 +0200 Subject: Fixed crash on exit introduced with Windows Service capability. Ref.: #1845 --- src/Root.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/Root.h') diff --git a/src/Root.h b/src/Root.h index d552466dc..2f9d1eb2c 100644 --- a/src/Root.h +++ b/src/Root.h @@ -47,6 +47,7 @@ public: static bool m_TerminateEventRaised; static bool m_RunAsService; + static bool m_ShouldStop; cRoot(void); @@ -54,9 +55,6 @@ public: void Start(void); - // Added so the service handler can request a stop - void SetStopping(bool a_Stopping); - // tolua_begin cServer * GetServer(void) { return m_Server; } cWorld * GetDefaultWorld(void); @@ -201,7 +199,6 @@ private: cHTTPServer m_HTTPServer; - bool m_bStop; bool m_bRestart; void LoadGlobalSettings(); -- cgit v1.2.3