diff options
author | louiz’ <louiz@louiz.org> | 2020-02-25 23:20:54 +0100 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2020-02-25 23:20:54 +0100 |
commit | 4b0fb8b37e5d2ff79da1c568ca38d4c8905dc9eb (patch) | |
tree | e606a3875bd6981ab486d7b78c980876048d4ddc /src | |
parent | 9913518178b582abcd5cac69e2f6c96866801f77 (diff) | |
download | biboumi-4b0fb8b37e5d2ff79da1c568ca38d4c8905dc9eb.tar.gz biboumi-4b0fb8b37e5d2ff79da1c568ca38d4c8905dc9eb.tar.bz2 biboumi-4b0fb8b37e5d2ff79da1c568ca38d4c8905dc9eb.tar.xz biboumi-4b0fb8b37e5d2ff79da1c568ca38d4c8905dc9eb.zip |
Remove all identd sockets on exit signal
fix #3420
Diffstat (limited to 'src')
-rw-r--r-- | src/identd/identd_server.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/identd/identd_server.hpp b/src/identd/identd_server.hpp index b1c8ec8..55fe225 100644 --- a/src/identd/identd_server.hpp +++ b/src/identd/identd_server.hpp @@ -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() { |