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