pull/135/head
Simon Stürz 2015-11-26 12:02:15 +01:00 committed by Michael Zanetti
parent 60067f7c0b
commit 88cfd9cf8a
1 changed files with 2 additions and 1 deletions

View File

@ -85,6 +85,7 @@ WebSocketServer::WebSocketServer(const QSslConfiguration &sslConfiguration, QObj
/*! Destructor of this \l{WebSocketServer}. */
WebSocketServer::~WebSocketServer()
{
stopServer();
}
/*! Send the given \a data map to the client with the given \a clientId.
@ -220,7 +221,7 @@ bool WebSocketServer::stopServer()
m_server->close();
delete m_server;
m_server = 0;
return false;
return true;
}
}