diff options
Diffstat (limited to 'TAO/tao/Connection_Handler.cpp')
-rw-r--r-- | TAO/tao/Connection_Handler.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/TAO/tao/Connection_Handler.cpp b/TAO/tao/Connection_Handler.cpp index bb6ac1521b2..3d42ba951f8 100644 --- a/TAO/tao/Connection_Handler.cpp +++ b/TAO/tao/Connection_Handler.cpp @@ -23,11 +23,14 @@ TAO_Connection_Handler::TAO_Connection_Handler (TAO_ORB_Core *orb_core) int TAO_Connection_Handler::purge_entry (void) { - // Decerment our reference count before we remove ourselves from the - // map as our references are not held by the map - this->decr_ref_count (); - return + int retval = this->orb_core_->connection_cache ().purge_entry (this->cache_map_entry_); + + // Decrement our reference count as we have been removed from the + // cache map. + this->decr_ref_count (); + + return retval; } int |