From f0445098d9c01899ae4daa204e1900bdcc6e2b75 Mon Sep 17 00:00:00 2001 From: prascle Date: Mon, 17 Oct 2005 09:17:30 +0000 Subject: [PATCH] PR: trace must be deleted before orb shutdown. --- src/Container/Container_i.cxx | 6 +++++- src/Container/SALOME_Container.cxx | 5 +++-- 2 files changed, 8 insertions(+), 3 deletions(-) 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 ; } -- 2.39.2