server stop seems to work now for Windows (dont know the reason why) -> activate this feature

This commit is contained in:
Volker Fischer 2009-04-07 07:00:40 +00:00
parent 08aaac13bf
commit ac4e8a778d

View File

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