diff options
Diffstat (limited to 'src/threadengines/threadengine_pthread.cpp')
-rw-r--r-- | src/threadengines/threadengine_pthread.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/threadengines/threadengine_pthread.cpp b/src/threadengines/threadengine_pthread.cpp index 27641f0ac..8527907c4 100644 --- a/src/threadengines/threadengine_pthread.cpp +++ b/src/threadengines/threadengine_pthread.cpp @@ -80,8 +80,7 @@ class ThreadSignalSocket : public EventHandler ~ThreadSignalSocket() { - SocketEngine::DelFd(this); - SocketEngine::Close(GetFd()); + SocketEngine::Close(this); } void Notify() @@ -130,8 +129,7 @@ class ThreadSignalSocket : public EventHandler ~ThreadSignalSocket() { close(send_fd); - SocketEngine::DelFd(this); - SocketEngine::Close(GetFd()); + SocketEngine::Close(this); } void Notify() |