summaryrefslogtreecommitdiff
path: root/TAO/tao/Connection_Handler.inl
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2000-11-14 02:57:27 +0000
committerbala <balanatarajan@users.noreply.github.com>2000-11-14 02:57:27 +0000
commitc61b5cd68f3539930e0bcec092e328f7575b78dd (patch)
tree0db1f04ac811b858690131d7ae8b81ec3f92b8bf /TAO/tao/Connection_Handler.inl
parenteeec6952532ed1f515f80ea871ca468a68a7e340 (diff)
downloadATCD-c61b5cd68f3539930e0bcec092e328f7575b78dd.tar.gz
ChangeLogTag: Mon Nov 13 20:44:25 2000 Balachandran Natarajan <bala@cs.wustl.edu>
Diffstat (limited to 'TAO/tao/Connection_Handler.inl')
-rw-r--r--TAO/tao/Connection_Handler.inl10
1 files changed, 9 insertions, 1 deletions
diff --git a/TAO/tao/Connection_Handler.inl b/TAO/tao/Connection_Handler.inl
index fb11355f43f..d03d9b52e64 100644
--- a/TAO/tao/Connection_Handler.inl
+++ b/TAO/tao/Connection_Handler.inl
@@ -42,9 +42,17 @@ TAO_Connection_Handler::decr_ref_count (void)
this->ref_count_ --;
if (this->ref_count_ == 0)
- delete this;
+ {
+ // So the handler is gone
+ delete this;
+
+ // Now mark the Ext_Id for us as closed
+ this->cache_map_entry_->ext_id_.recycle_state
+ (ACE_RECYCLABLE_CLOSED);
+ }
}
+
ACE_INLINE CORBA::Boolean
TAO_Connection_Handler::is_registered (void)
{