From: prascle Date: Mon, 17 Oct 2005 09:17:30 +0000 (+0000) Subject: PR: trace must be deleted before orb shutdown. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f0445098d9c01899ae4daa204e1900bdcc6e2b75;p=modules%2Fkernel.git PR: trace must be deleted before orb shutdown. --- diff --git a/src/Container/Container_i.cxx b/src/Container/Container_i.cxx index 2f1327fc6..62b58f98a 100644 --- a/src/Container/Container_i.cxx +++ b/src/Container/Container_i.cxx @@ -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); + } } diff --git a/src/Container/SALOME_Container.cxx b/src/Container/SALOME_Container.cxx index 04459555f..f6f1884ff 100644 --- a/src/Container/SALOME_Container.cxx +++ b/src/Container/SALOME_Container.cxx @@ -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 ; }