]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix SIGSEGV at SALOME exit V7_5_1rc1
authorvsr <vsr@opencascade.com>
Fri, 16 Jan 2015 16:03:25 +0000 (19:03 +0300)
committervsr <vsr@opencascade.com>
Fri, 16 Jan 2015 16:03:25 +0000 (19:03 +0300)
src/SalomeApp/SalomeApp_Application.cxx

index b9cb79b08160438ce81400b8d34022e7ddfe619a..8c68a1e710939c573a60a161c9ffd9d790f11c6b 100644 (file)
@@ -404,7 +404,7 @@ void SalomeApp_Application::onExit()
   if ( result ) {
     if ( !killServers ) myIsCloseFromExit = true;
     SUIT_Session::session()->closeSession( SUIT_Session::ASK, killServers );
-    myIsCloseFromExit = false;
+    if ( SUIT_Session::session()->applications().count() > 0 ) myIsCloseFromExit = false;
   }
 }