summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.cpp')
-rw-r--r--TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.cpp b/TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.cpp
index 14641742646..9fad4c0eeb2 100644
--- a/TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.cpp
+++ b/TAO/orbsvcs/tests/EC_Multiple/EC_Multiple.cpp
@@ -452,7 +452,8 @@ Test_ECG::run (int argc, char* argv[])
if (orb->run (&tv) == -1)
ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "orb->run"), -1);
- ec_impl.add_gateway (&this->ecg_);
+ ec_impl.add_gateway (&this->ecg_, TAO_TRY_ENV);
+ TAO_CHECK_ENV;
}
for (int cd = 0; cd < this->consumer_disconnects_; ++cd)
@@ -502,7 +503,8 @@ Test_ECG::run (int argc, char* argv[])
if (this->rmt_name_ != 0)
{
- ec_impl.del_gateway (&this->ecg_);
+ ec_impl.del_gateway (&this->ecg_, TAO_TRY_ENV);
+ TAO_CHECK_ENV;
this->ecg_.close (TAO_TRY_ENV);
TAO_CHECK_ENV;
@@ -520,6 +522,10 @@ Test_ECG::run (int argc, char* argv[])
if (orb->run (&tv) == -1)
ACE_ERROR_RETURN ((LM_ERROR, "%p\n", "orb->run"), -1);
+ naming_context->unbind (channel_name, TAO_TRY_ENV);
+ TAO_CHECK_ENV;
+
+
if (this->schedule_file_ != 0)
{