]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
PR: trace must be deleted before orb shutdown.
authorprascle <prascle>
Mon, 17 Oct 2005 09:17:30 +0000 (09:17 +0000)
committerprascle <prascle>
Mon, 17 Oct 2005 09:17:30 +0000 (09:17 +0000)
src/Container/Container_i.cxx
src/Container/SALOME_Container.cxx

index 2f1327fc692b4f6209108d93a7bf912c609283f1..62b58f98a438ba85468db47dba26ec300b076ca5 100644 (file)
@@ -261,7 +261,11 @@ void Engines_Container_i::Shutdown()
   //_remove_ref();
   //_poa->deactivate_object(*_id);
   if(_isServantAloneInProcess)
-    _orb->shutdown(0);
+    {
+      LocalTraceBufferPool* bp1 = LocalTraceBufferPool::instance();
+      bp1->deleteInstance(bp1);
+      _orb->shutdown(0);
+    }
 }
 
 
index 04459555f7e5303e06ab6b41facbcc9005dff578..f6f1884ff70a0fa602af6ed029cbd15429fcfda4 100644 (file)
@@ -152,8 +152,9 @@ int main(int argc, char* argv[])
   MPI_Finalize();
 #endif
 
-  END_OF(argv[0]);
-  //  delete myThreadTrace;
+  //END_OF(argv[0]);
+  //LocalTraceBufferPool* bp1 = LocalTraceBufferPool::instance();
+  //bp1->deleteInstance(bp1);
   return 0 ;
 }