Remove all identd sockets on exit signal

fix #3420
This commit is contained in:
louiz’
2020-02-25 23:20:54 +01:00
parent 9913518178
commit 4b0fb8b37e
+1
View File
@@ -24,6 +24,7 @@ class IdentdServer: public TcpSocketServer<IdentdSocket>
if (this->poller->is_managing_socket(this->socket))
this->poller->remove_socket_handler(this->socket);
::close(this->socket);
this->sockets.clear();
}
void clean()
{