diff options
-rw-r--r-- | TAO/ChangeLog | 6 | ||||
-rw-r--r-- | TAO/orbsvcs/Notify_Service/Notify_Service.cpp | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index 5f54cc78d25..6df34bd5fde 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,9 @@ +Tue Dec 13 12:34:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl> + + * orbsvcs/Notify_Service/Notify_Service.cpp (shutdown): + Only unbind from the naming service when we have a valid object + reference to it. + Tue Dec 13 10:22:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl> * tao/Codeset_Manager_Factory_Base.h: diff --git a/TAO/orbsvcs/Notify_Service/Notify_Service.cpp b/TAO/orbsvcs/Notify_Service/Notify_Service.cpp index 9fb6903fc1a..182a27231ac 100644 --- a/TAO/orbsvcs/Notify_Service/Notify_Service.cpp +++ b/TAO/orbsvcs/Notify_Service/Notify_Service.cpp @@ -287,7 +287,7 @@ void TAO_Notify_Service_Driver::shutdown (ACE_ENV_SINGLE_ARG_DECL) { // Deactivate. - if (this->use_name_svc_) + if (this->use_name_svc_ && !CORBA::is_nil (this->naming_.in ())) { // Unbind from the naming service. CosNaming::Name_var name = |