summaryrefslogtreecommitdiff
path: root/tao/Thread_Lane_Resources.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tao/Thread_Lane_Resources.cpp')
-rw-r--r--tao/Thread_Lane_Resources.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/tao/Thread_Lane_Resources.cpp b/tao/Thread_Lane_Resources.cpp
index 8c0da1f6e1d..84a41931737 100644
--- a/tao/Thread_Lane_Resources.cpp
+++ b/tao/Thread_Lane_Resources.cpp
@@ -502,12 +502,13 @@ TAO_Thread_Lane_Resources::shutdown_reactor (void)
leader_follower.has_clients ())
{
reactor->wakeup_all_threads ();
- return;
}
-
- // End the reactor if we want shutdown dropping replies along the
- // way.
- reactor->end_reactor_event_loop ();
+ else
+ {
+ // End the reactor if we want shutdown dropping replies along the
+ // way.
+ reactor->end_reactor_event_loop ();
+ }
}
void