Avoid double session closing
This commit is contained in:
parent
47ab4038ec
commit
504862fce7
|
@ -669,7 +669,8 @@ void Server::close_session()
|
|||
|
||||
Server::~Server()
|
||||
{
|
||||
close_session();
|
||||
if (m_listener)
|
||||
close_session();
|
||||
}
|
||||
|
||||
void Server::remove_accepter(Accepter* accepter)
|
||||
|
|
Loading…
Reference in New Issue
Block a user