summaryrefslogtreecommitdiff
path: root/cpp/src/Glacier2/Blobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Glacier2/Blobject.cpp')
-rw-r--r--cpp/src/Glacier2/Blobject.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/cpp/src/Glacier2/Blobject.cpp b/cpp/src/Glacier2/Blobject.cpp
index 20a8ae2e8cc..3ee669ff860 100644
--- a/cpp/src/Glacier2/Blobject.cpp
+++ b/cpp/src/Glacier2/Blobject.cpp
@@ -94,24 +94,6 @@ Glacier2::Blobject::invokeSent(bool, const AMD_Object_ice_invokePtr& amdCB)
void
Glacier2::Blobject::invokeException(const Exception& ex, const AMD_Object_ice_invokePtr& amdCB)
{
- //
- // If the connection has been lost, destroy the session.
- //
- if(_reverseConnection)
- {
- if(dynamic_cast<const SocketException*>(&ex) ||
- dynamic_cast<const TimeoutException*>(&ex) ||
- dynamic_cast<const ProtocolException*>(&ex))
- {
- try
- {
- _instance->sessionRouter()->destroySession(_reverseConnection);
- }
- catch(const Exception&)
- {
- }
- }
- }
amdCB->ice_exception(ex);
}