From 4c76e57abcbc0aa9b828ce9d95452cd3a250977e Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 4 Jul 2008 05:32:46 +0000 Subject: [PATCH] Fix pb: Session server is not finished if CPP container is running in embedded mode (hang-up on orb->destroy()). --- src/Session/SALOME_Session_Server.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(...) { -- 2.39.2