summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2008-03-17 09:59:51 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2008-03-17 09:59:51 +0000
commitf29bd54feecf5629494ffc8c6449512d47699feb (patch)
tree93819b91b04e9d45d5e8e80af19c365bd7a34023
parentc9fa0c934768873f95195f31b911dc17b96da1a6 (diff)
downloadATCD-f29bd54feecf5629494ffc8c6449512d47699feb.tar.gz
-rw-r--r--TAO/tao/Thread_Lane_Resources.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/TAO/tao/Thread_Lane_Resources.cpp b/TAO/tao/Thread_Lane_Resources.cpp
index 7ca4d8cda39..6552de0463d 100644
--- a/TAO/tao/Thread_Lane_Resources.cpp
+++ b/TAO/tao/Thread_Lane_Resources.cpp
@@ -493,7 +493,6 @@ TAO_Thread_Lane_Resources::shutdown_reactor (void)
leader_follower.lock ());
ACE_Reactor *reactor = leader_follower.reactor ();
- TAO_Resource_Factory *resource_factory = this->orb_core_.resource_factory ();
// Wakeup all the threads waiting blocked in the event loop, this
// does not guarantee that they will all go away, but reduces the
@@ -503,7 +502,7 @@ TAO_Thread_Lane_Resources::shutdown_reactor (void)
// they finish, when the last one does it will shutdown the reactor
// for us. Meanwhile no new requests will be accepted because the
// POA will not process them.
- if (resource_factory && !resource_factory->drop_replies_during_shutdown () &&
+ if (!this->orb_core_.resource_factory ()->drop_replies_during_shutdown () &&
leader_follower.has_clients ())
{
reactor->wakeup_all_threads ();