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

index 4e60a9da4b94210d6e4286281a4dca7d2f744f53..f767206e8517bd47997a03fc662d2b40d332fa5f 100755 (executable)
@@ -554,6 +554,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;
        }
       }