]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Avoid QFatal error - unlocking non-locked mutex - on application exit
authorvsr <vsr@opencascade.com>
Mon, 23 Mar 2009 11:02:10 +0000 (11:02 +0000)
committervsr <vsr@opencascade.com>
Mon, 23 Mar 2009 11:02:10 +0000 (11:02 +0000)
src/Session/SALOME_Session_Server.cxx

index 27e17b81e876285af2a9fc275e192ee0c7b9effb..d76f1e8f2586748fba1d742a66a07b32383a157f 100755 (executable)
@@ -566,6 +566,7 @@ int main( int argc, char **argv )
 
        if ( result == SUIT_Session::NORMAL ) { // desktop is closed by user from GUI
          shutdown = aGUISession->exitFlags();
+         _SessionMutex.lock();
          break;
        }
       }