From: vsr Date: Fri, 4 Jul 2008 05:32:46 +0000 (+0000) Subject: Fix pb: Session server is not finished if CPP container is running in embedded mode... X-Git-Tag: V4_1_4a1~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4c76e57abcbc0aa9b828ce9d95452cd3a250977e;p=modules%2Fgui.git Fix pb: Session server is not finished if CPP container is running in embedded mode (hang-up on orb->destroy()). --- diff --git a/src/Session/SALOME_Session_Server.cxx b/src/Session/SALOME_Session_Server.cxx index ed7d07073..40218b506 100755 --- a/src/Session/SALOME_Session_Server.cxx +++ b/src/Session/SALOME_Session_Server.cxx @@ -596,7 +596,7 @@ int main( int argc, char **argv ) try { - orb->destroy(); + orb->shutdown(0); } catch(...) {