From: vsr Date: Tue, 19 Feb 2008 15:09:29 +0000 (+0000) Subject: Avoid CORBA exception on Session server exiting X-Git-Tag: V4_1_1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d826b1f8b2f06aa98ba4cd4fe19f8685e375e6ad;p=modules%2Fgui.git Avoid CORBA exception on Session server exiting --- diff --git a/src/Session/SALOME_Session_Server.cxx b/src/Session/SALOME_Session_Server.cxx index ed3c28d06..ee154f69e 100755 --- a/src/Session/SALOME_Session_Server.cxx +++ b/src/Session/SALOME_Session_Server.cxx @@ -707,7 +707,13 @@ int main( int argc, char **argv ) } catch(...) { - std::cerr << "Caught unexpected exception on destroy : ignored !!" << std::endl; + ////////////////////////////////////////////////////////////// + // VSR: silently skip exception: + // CORBA.BAD_INV_ORDER.BAD_INV_ORDER_ORBHasShutdown + // exception is raised when orb->destroy() is called and + // cpp continer is launched in the embedded mode + ////////////////////////////////////////////////////////////// + // std::cerr << "Caught unexpected exception on destroy : ignored !!" << std::endl; } if ( shutdown )