diff options
Diffstat (limited to 'lib/server/SocketListen.h')
-rw-r--r-- | lib/server/SocketListen.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/server/SocketListen.h b/lib/server/SocketListen.h index 2ddd9edd..39fe7e24 100644 --- a/lib/server/SocketListen.h +++ b/lib/server/SocketListen.h @@ -186,8 +186,7 @@ public: catch(ServerException &e) // finally { // Dispose of the socket - ::close(mSocketHandle); - mSocketHandle = -1; + Close(); throw; } } |