summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Event/Basic/Observer.cpp
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-01-26 01:02:54 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-01-26 01:02:54 +0000
commit2a4e2575845cc47c2fcbf59be579c0fadca6deca (patch)
treee8932bba3c6b11a3cdac64553f35d6e15fb5aaf8 /TAO/orbsvcs/tests/Event/Basic/Observer.cpp
parent69a121a736ba9a71e0d4a5460da34cd0f0b2ab11 (diff)
downloadATCD-2a4e2575845cc47c2fcbf59be579c0fadca6deca.tar.gz
ChangeLogTag:Tue Jan 25 19:01:33 2000 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'TAO/orbsvcs/tests/Event/Basic/Observer.cpp')
-rw-r--r--TAO/orbsvcs/tests/Event/Basic/Observer.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/TAO/orbsvcs/tests/Event/Basic/Observer.cpp b/TAO/orbsvcs/tests/Event/Basic/Observer.cpp
index 413e0cd260f..036ea4bf3b5 100644
--- a/TAO/orbsvcs/tests/Event/Basic/Observer.cpp
+++ b/TAO/orbsvcs/tests/Event/Basic/Observer.cpp
@@ -120,10 +120,31 @@ EC_Master::run (int argc, char* argv[])
}
}
+ {
+ for (int i = 0; i != this->n_channels_; ++i)
+ {
+ this->channels_[i]->disconnect_clients (ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ this->channels_[i]->shutdown_clients (ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ this->channels_[i]->destroy_ec (ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ this->channels_[i]->deactivate_ec (ACE_TRY_ENV);
+ ACE_TRY_CHECK;
+ this->channels_[i]->cleanup_tasks ();
+ this->channels_[i]->cleanup_suppliers ();
+ this->channels_[i]->cleanup_consumers ();
+ this->channels_[i]->cleanup_ec ();
+ }
+ }
+
this->root_poa_->destroy (1,
1,
ACE_TRY_ENV);
ACE_TRY_CHECK;
+
+ this->orb_->destroy (ACE_TRY_ENV);
+ ACE_TRY_CHECK;
}
ACE_CATCHANY
{