From: caremoli Date: Wed, 16 Jan 2008 08:37:21 +0000 (+0000) Subject: CCAR: go back on using ORB_INIT wrapping X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b997d85042c2b6e48d730024477e0a6fdc9ef45f;p=modules%2Fkernel.git CCAR: go back on using ORB_INIT wrapping --- diff --git a/src/Container/SALOME_Container.cxx b/src/Container/SALOME_Container.cxx index 489ed355f..00345f670 100644 --- a/src/Container/SALOME_Container.cxx +++ b/src/Container/SALOME_Container.cxx @@ -126,15 +126,11 @@ int main(int argc, char* argv[]) // Initialise the ORB. //SRN: BugID: IPAL9541, it's necessary to set a size of one message to be at least 100Mb - //There is no need to use a singleton as ORB_init returns a ref counted singleton - //The only difference is on delete : no automatic call to destroy - //But it's in general too late in exit - CORBA::ORB_var orb = CORBA::ORB_init( argc , argv ) ; - /* + //CORBA::ORB_var orb = CORBA::ORB_init( argc , argv ) ; ORB_INIT &init = *SINGLETON_::Instance() ; ASSERT(SINGLETON_::IsAlreadyExisting()); CORBA::ORB_ptr orb = init(argc , argv ) ; - */ + // LocalTraceCollector *myThreadTrace = SALOMETraceCollector::instance(orb); INFOS_COMPILATION; BEGIN_OF(argv[0]);