From 64ad1fa532363a5660c165c68cd2298b74d213be Mon Sep 17 00:00:00 2001 From: Phil Mesnier Date: Mon, 25 Sep 2006 23:10:36 +0000 Subject: ChangeLog tag: Mon Sep 25 22:27:24 UTC 2006 Phil Mesnier --- TAO/tao/IIOP_Connection_Handler.cpp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'TAO/tao/IIOP_Connection_Handler.cpp') diff --git a/TAO/tao/IIOP_Connection_Handler.cpp b/TAO/tao/IIOP_Connection_Handler.cpp index b910fc091e2..418a5dfd87b 100644 --- a/TAO/tao/IIOP_Connection_Handler.cpp +++ b/TAO/tao/IIOP_Connection_Handler.cpp @@ -63,7 +63,16 @@ TAO_IIOP_Connection_Handler::TAO_IIOP_Connection_Handler (TAO_ORB_Core *orb_core TAO_IIOP_Connection_Handler::~TAO_IIOP_Connection_Handler (void) { delete this->transport (); - this->release_os_resources(); + int const result = + this->release_os_resources (); + + if (result == -1 && TAO_debug_level) + { + ACE_ERROR ((LM_ERROR, + ACE_TEXT("TAO (%P|%t) - IIOP_Connection_Handler::") + ACE_TEXT("~IIOP_Connection_Handler, ") + ACE_TEXT("release_os_resources() failed %m\n"))); + } } /* Copy hook that copies over the concrete methods from this class -- cgit v1.2.1