diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/inspsocket.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/inspsocket.cpp b/src/inspsocket.cpp index f8d5109fb..5f5c2d6ec 100644 --- a/src/inspsocket.cpp +++ b/src/inspsocket.cpp @@ -480,6 +480,10 @@ void InspSocket::HandleEvent(EventType et, int errornum) switch (et) { case EVENT_ERROR: + this->Instance->SE->DelFd(this); + this->Close(); + delete this; + return; break; case EVENT_READ: if (!this->Poll()) |