]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
PR: more messages for debug shutdown
authorprascle <prascle>
Tue, 18 Oct 2005 14:07:01 +0000 (14:07 +0000)
committerprascle <prascle>
Tue, 18 Oct 2005 14:07:01 +0000 (14:07 +0000)
src/Container/Container_i.cxx
src/Container/SALOME_ContainerManager.cxx

index 62b58f98a438ba85468db47dba26ec300b076ca5..a893cbf03851b51028f55f91d8d7a8a6a19c1b80 100644 (file)
@@ -262,6 +262,7 @@ void Engines_Container_i::Shutdown()
   //_poa->deactivate_object(*_id);
   if(_isServantAloneInProcess)
     {
+      MESSAGE("Effective Shutdown of container Begins...");
       LocalTraceBufferPool* bp1 = LocalTraceBufferPool::instance();
       bp1->deleteInstance(bp1);
       _orb->shutdown(0);
index de43d8696ac1fc84cf34466a64fe9e0f43c16375..b7a3c708e1c68133adde04f27734be07ee527cf7 100644 (file)
@@ -97,7 +97,11 @@ void SALOME_ContainerManager::ShutdownContainers()
       CORBA::Object_var obj=_NS->Resolve((*iter).c_str());
       Engines::Container_var cont=Engines::Container::_narrow(obj);
       if(!CORBA::is_nil(cont))
-       cont->Shutdown();
+       {
+         MESSAGE("ShutdownContainers: " << (*iter));
+         cont->Shutdown();
+       }
+      else MESSAGE("ShutdownContainers: no container ref for " << (*iter));
     }
 }