Avoid double session closing

This commit is contained in:
Maxime Coste 2015-08-22 11:27:48 +01:00
parent 47ab4038ec
commit 504862fce7

View File

@ -669,7 +669,8 @@ void Server::close_session()
Server::~Server()
{
close_session();
if (m_listener)
close_session();
}
void Server::remove_accepter(Accepter* accepter)