diff options
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/users.cpp b/src/users.cpp index 32c29a75d..fc286895f 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -60,6 +60,11 @@ userrec::userrec() invites.clear(); } +userrec::~userrec() +{ + pthread_kill(this->dnsthread,9); +} + void userrec::CloseSocket() { shutdown(this->fd,2); |