diff options
Diffstat (limited to 'cpp/src/Glacier2/ServerBlobject.cpp')
-rw-r--r-- | cpp/src/Glacier2/ServerBlobject.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/cpp/src/Glacier2/ServerBlobject.cpp b/cpp/src/Glacier2/ServerBlobject.cpp index 5c654f52132..b1fa27ee4fb 100644 --- a/cpp/src/Glacier2/ServerBlobject.cpp +++ b/cpp/src/Glacier2/ServerBlobject.cpp @@ -21,17 +21,6 @@ Glacier2::ServerBlobject::ServerBlobject(const CommunicatorPtr& communicator, co Glacier2::ServerBlobject::~ServerBlobject() { - assert(!_connection); -} - -void -Glacier2::ServerBlobject::destroy() -{ - IceUtil::Mutex::Lock lock(*this); - - assert(_connection); // Destroyed? - _connection = 0; - Blobject::destroy(); } void @@ -39,15 +28,6 @@ Glacier2::ServerBlobject::ice_invoke_async(const Ice::AMD_Array_Object_ice_invok const std::pair<const Byte*, const Byte*>& inParams, const Current& current) { - IceUtil::Mutex::Lock lock(*this); - - if(!_connection) // Destroyed? - { - ObjectNotExistException ex(__FILE__, __LINE__); - ex.id = current.id; - throw ex; - } - ObjectPrx proxy = _connection->createProxy(current.id); assert(proxy); |