aboutsummaryrefslogtreecommitdiff
path: root/src/inspsocket.cpp
diff options
context:
space:
mode:
authorGravatar Attila Molnar2014-02-09 17:17:04 +0100
committerGravatar Attila Molnar2014-02-09 17:17:04 +0100
commit4ec65c6231df9fcb38210f9b885cdf73b72cc176 (patch)
tree97bb3a6c46634b2b00c3edaacdb86867a5023423 /src/inspsocket.cpp
parentQueue changes in socketengine_kqueue and submit them as we poll for new events (diff)
Call DelFd() and SetFd(-1) from SocketEngine::Close(EventHandler*)
Diffstat (limited to 'src/inspsocket.cpp')
-rw-r--r--src/inspsocket.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp
index 3610addba..d15a1b6a5 100644
--- a/src/inspsocket.cpp
+++ b/src/inspsocket.cpp
@@ -138,9 +138,7 @@ void StreamSocket::Close()
DelIOHook();
}
SocketEngine::Shutdown(this, 2);
- SocketEngine::DelFd(this);
SocketEngine::Close(this);
- fd = -1;
}
}