summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/MessagingS.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/PortableServer/MessagingS.cpp')
-rw-r--r--TAO/tao/PortableServer/MessagingS.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/TAO/tao/PortableServer/MessagingS.cpp b/TAO/tao/PortableServer/MessagingS.cpp
index 94fd4a20ffb..9191214934a 100644
--- a/TAO/tao/PortableServer/MessagingS.cpp
+++ b/TAO/tao/PortableServer/MessagingS.cpp
@@ -190,7 +190,8 @@ POA_Messaging::_TAO_ReplyHandler_Strategized_Proxy_Broker::select_proxy (
)
{
int strategy =
- TAO_ORB_Core::collocation_strategy (object);
+ TAO_ORB_Core::collocation_strategy (object, ACE_TRY_ENV);
+ ACE_CHECK_RETURN (*this->proxy_cache_[strategy]);
if (this->proxy_cache_[strategy] != 0)
return *this->proxy_cache_[strategy];