diff options
author | Anthony Neal <aneal@zeroc.com> | 2003-02-05 14:43:00 +0000 |
---|---|---|
committer | Anthony Neal <aneal@zeroc.com> | 2003-02-05 14:43:00 +0000 |
commit | bd9acf7719ad13fb48871620b521afbc0bebdcfa (patch) | |
tree | 76481cd3ea61aa2fcc05be5ec901a6a2fc727e1e /cpp/src/IceSSL/SslTransceiver.cpp | |
parent | adding makebindist.py (diff) | |
download | ice-bd9acf7719ad13fb48871620b521afbc0bebdcfa.tar.bz2 ice-bd9acf7719ad13fb48871620b521afbc0bebdcfa.tar.xz ice-bd9acf7719ad13fb48871620b521afbc0bebdcfa.zip |
Removed the throw in close() - close() should not throw any exceptions.
Diffstat (limited to 'cpp/src/IceSSL/SslTransceiver.cpp')
-rw-r--r-- | cpp/src/IceSSL/SslTransceiver.cpp | 5 |
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); |