From ac4e8a778d2f153f24274021ef5b6120e2c388f7 Mon Sep 17 00:00:00 2001 From: Volker Fischer Date: Tue, 7 Apr 2009 07:00:40 +0000 Subject: [PATCH] server stop seems to work now for Windows (dont know the reason why) -> activate this feature --- src/server.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/server.cpp b/src/server.cpp index 832b3540..844efaf5 100755 --- a/src/server.cpp +++ b/src/server.cpp @@ -54,12 +54,6 @@ CServer::CServer ( const QString& strLoggingFileName, SIGNAL ( ChannelConnected ( CHostAddress ) ), this, SLOT ( OnNewChannel ( CHostAddress ) ) ); -#ifdef _WIN32 - // event handling of custom events seems not to work under Windows in this - // class, do not use automatic start/stop of server in Windows version - Start(); -#endif - // enable logging (if requested) if ( !strLoggingFileName.isEmpty() ) { @@ -163,11 +157,7 @@ void CServer::OnTimer() { // Disable server if no clients are connected. In this case the server // does not consume any significant CPU when no client is connected. -#ifndef _WIN32 - // event handling of custom events seems not to work under Windows in this - // class, do not use automatic start/stop of server in Windows version Stop(); -#endif } // update response time measurement