summaryrefslogtreecommitdiff
path: root/TAO/tao/ORB_Core.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/ORB_Core.cpp')
-rw-r--r--TAO/tao/ORB_Core.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/TAO/tao/ORB_Core.cpp b/TAO/tao/ORB_Core.cpp
index e09f874d776..0ec21043bf6 100644
--- a/TAO/tao/ORB_Core.cpp
+++ b/TAO/tao/ORB_Core.cpp
@@ -1,8 +1,6 @@
// $Id$
-
-
#include "tao/ORB_Core.h"
#include "ace/Env_Value_T.h"
@@ -42,10 +40,8 @@
# include "tao/ORB_Core.i"
#endif /* ! __ACE_INLINE__ */
-
ACE_RCSID(tao, ORB_Core, "$Id$")
-
// ****************************************************************
CORBA::Environment &
@@ -67,7 +63,7 @@ TAO_ORB_Core::TAO_ORB_Core (const char *orbid)
root_poa_ (0),
root_poa_reference_ (),
orb_params_ (),
- orbid_ (ACE_OS::strdup (orbid?orbid:"")),
+ orbid_ (ACE_OS::strdup (orbid ? orbid : "")),
resource_factory_ (0),
resource_factory_from_service_config_ (0),
// @@ This is not needed since the default resource factory, fredk
@@ -345,7 +341,6 @@ TAO_ORB_Core::init (int &argc, char *argv[], CORBA::Environment &ACE_TRY_ENV)
// warning this turns on a daemon
ACE::debug (1);
TAO_orbdebug = 1;
-
arg_shifter.consume_arg ();
}
@@ -1268,12 +1263,14 @@ TAO_ORB_Core::fini (void)
// is statically added to the service configurator, fredk
if (!this->resource_factory_from_service_config_)
delete resource_factory_;
+
// @@ This is not needed since the default client factory
// is statically added to the service configurator, fredk
if (!this->client_factory_from_service_config_)
delete client_factory_;
+
// @@ This is not needed since the default server factory
// is statically added to the service configurator, fredk
if (!this->server_factory_from_service_config_)
@@ -1286,6 +1283,7 @@ TAO_ORB_Core::fini (void)
}
delete this->reactor_registry_;
+
#if (TAO_HAS_RT_CORBA == 1)
delete this->priority_mapping_;
#endif /* TAO_HAS_RT_CORBA == 1 */