From 93c74e8bbbbb31fc88001ee3edd3cb96e4be829a Mon Sep 17 00:00:00 2001 From: bala Date: Wed, 22 Jan 2003 20:22:11 +0000 Subject: ChangeLogTag: Wed Jan 22 14:56:22 2003 Balachandran Natarajan --- TAO/ChangeLog | 10 ++++++++-- TAO/tao/Invocation.cpp | 12 ++++-------- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/TAO/ChangeLog b/TAO/ChangeLog index 481c27c09ce..6800115a172 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,8 +1,14 @@ +Wed Jan 22 14:56:22 2003 Balachandran Natarajan + + * tao/Invocation.cpp (invoke_i): Unbind the dispatcher instead of + setting the state in the Bind_Dispatcher_Guard. Improves code + readability. + Wed Jan 22 11:08:57 2003 Chris Cleeland * tao/Messaging/Messaging_Policy_i.cpp (hook): Fixed debug message - so that it actually printed out milliseconds rather than the - microsecond component expressed as milliseconds. + so that it actually printed out milliseconds rather than the + microsecond component expressed as milliseconds. Wed Jan 22 17:03:12 UTC 2003 Johnny Willemsen diff --git a/TAO/tao/Invocation.cpp b/TAO/tao/Invocation.cpp index 75cbe6ec6c0..7e8d96c8beb 100644 --- a/TAO/tao/Invocation.cpp +++ b/TAO/tao/Invocation.cpp @@ -685,16 +685,12 @@ TAO_GIOP_Synch_Invocation::invoke_i (CORBA::Boolean is_locate_request ACE_CHECK_RETURN (reply_error); } - // If this is still an error that needs special handing, call the - // ORB Core which would check whether we need to really - // raise an exception or are we going to base our decision on the - // loaded services. + // If this is still an error that needs other handlers to be used , + // call the ORB Core which can take care of the rest.. if (reply_error == -1) { - // An error has occured while waiting for the reply. So reset the - // state of the dispatcher guard so that no unbind happens when - // the destructor is called. - (void) dispatch_guard.status (TAO_Bind_Dispatcher_Guard::NO_UNBIND); + // Just unbind the dispatcher before we take any action. + (void) dispatch_guard.unbind_dispatcher (); return this->orb_core_->service_raise_comm_failure (this, this->profile_ ACE_ENV_ARG_PARAMETER); -- cgit v1.2.1