summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/IceSSL/SslTransceiver.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/cpp/src/IceSSL/SslTransceiver.cpp b/cpp/src/IceSSL/SslTransceiver.cpp
index 4d379ec8f5a..567d4a9e9e6 100644
--- a/cpp/src/IceSSL/SslTransceiver.cpp
+++ b/cpp/src/IceSSL/SslTransceiver.cpp
@@ -73,10 +73,7 @@ IceSSL::SslTransceiver::close()
}
catch(...)
{
- assert(_fd != INVALID_SOCKET);
- closeSocket(_fd);
- _fd = INVALID_SOCKET;
- throw;
+ // Ignore, close() should not throw exceptions.
}
assert(_fd != INVALID_SOCKET);