diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-11-03 11:25:24 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2008-11-03 11:25:24 +0000 |
commit | 03f558e496a99b9ba2418987e867b4037ce40930 (patch) | |
tree | 12138fe28b01f262d6f063bd01f2da1ecbae531f /TAO/orbsvcs/orbsvcs/Naming/Naming_Server.cpp | |
parent | 9a1c8716d2ffa6e3922149df7a519466cc9afb18 (diff) | |
download | ATCD-03f558e496a99b9ba2418987e867b4037ce40930.tar.gz |
Mon Nov 3 10:24:00 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Naming/Naming_Server.cpp')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Naming/Naming_Server.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Naming/Naming_Server.cpp b/TAO/orbsvcs/orbsvcs/Naming/Naming_Server.cpp index 79927fd7ad8..6060435a21f 100644 --- a/TAO/orbsvcs/orbsvcs/Naming/Naming_Server.cpp +++ b/TAO/orbsvcs/orbsvcs/Naming/Naming_Server.cpp @@ -61,7 +61,7 @@ TAO_Naming_Server::TAO_Naming_Server (CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, size_t context_size, ACE_Time_Value *timeout, - int resolve_for_existing_naming_service, + bool resolve_for_existing_naming_service, const ACE_TCHAR *persistence_location, void *base_addr, int enable_multicast, @@ -109,7 +109,7 @@ TAO_Naming_Server::init (CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, size_t context_size, ACE_Time_Value *timeout, - int resolve_for_existing_naming_service, + bool resolve_for_existing_naming_service, const ACE_TCHAR *persistence_location, void *base_addr, int enable_multicast, @@ -732,6 +732,9 @@ TAO_Naming_Server::fini (void) { adapter->unbind ("NameService"); } + + CORBA::Object_var svc = + this->orb_->unregister_initial_reference ("NameService"); } catch (const CORBA::Exception&) { |