From 2f3dc0300534b8ca3fa4bf8d57bfa886b1df4c2f Mon Sep 17 00:00:00 2001 From: "lapayo94@gmail.com" Date: Thu, 12 Jul 2012 18:11:28 +0000 Subject: Missed a file Patched the server to allow shutdown from other threads git-svn-id: http://mc-server.googlecode.com/svn/trunk@657 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cRoot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') diff --git a/source/cRoot.cpp b/source/cRoot.cpp index f4816d79c..9ab923d50 100644 --- a/source/cRoot.cpp +++ b/source/cRoot.cpp @@ -149,7 +149,7 @@ void cRoot::Start() LOG("Starting InputThread..."); m_InputThread = new cThread( InputThread, this, "cRoot::InputThread" ); - m_InputThread->Start( true ); + m_InputThread->Start( false ); //we should NOT wait? Otherwise we canīt stop the server from other threads than the input thread LOG("Initialization done, server running now."); while( !m_bStop && !m_bRestart ) // These are modified by external threads -- cgit v1.2.3