summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/CosEvent_Service
diff options
context:
space:
mode:
authormichel_j <michel_j@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-08-23 01:30:37 +0000
committermichel_j <michel_j@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-08-23 01:30:37 +0000
commitd6173b9e003b0c115987fcbed352bb35911e39f0 (patch)
treeac5f04218739d810813ca795b79ad0de6db13b81 /TAO/orbsvcs/CosEvent_Service
parentc7d54253bee42d7d49637e1ac5a4f58cf4ca1031 (diff)
downloadATCD-d6173b9e003b0c115987fcbed352bb35911e39f0.tar.gz
Fri Aug 22 20:10:41 UTC 2003 Justin Michel <michel_j@ociweb.com>
Diffstat (limited to 'TAO/orbsvcs/CosEvent_Service')
-rw-r--r--TAO/orbsvcs/CosEvent_Service/CosEvent_Service.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/TAO/orbsvcs/CosEvent_Service/CosEvent_Service.cpp b/TAO/orbsvcs/CosEvent_Service/CosEvent_Service.cpp
index cbf898626be..7c7b2d891c3 100644
--- a/TAO/orbsvcs/CosEvent_Service/CosEvent_Service.cpp
+++ b/TAO/orbsvcs/CosEvent_Service/CosEvent_Service.cpp
@@ -45,9 +45,19 @@ ACE_TMAIN (int argc, ACE_TCHAR* argv[])
// to 1 by default or something like that...
// Don't worry about this change yet... Let's get all the changes
// in and then we can fix the EC shutdown problem...
+ //
+ // As inidicated above, The Typed EC implementation can now be
+ // destroyed by passing -d at the command line and
+ // calling destroy on the typed EC interface.
+ // Calling fini() completes the destruction, although most of
+ // this is done in TAO_CEC_TypedEventChannel::shutdown().
orb->run (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
+#if defined (TAO_HAS_TYPED_EVENT_CHANNEL)
+ event_service.fini();
+#endif /* TAO_HAS_TYPED_EVENT_CHANNEL */
+
// Destroy the ORB
orb->destroy(ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;