From: vsr Date: Mon, 23 Mar 2009 11:00:02 +0000 (+0000) Subject: Avoid QFatal error - unlocking non-locked mutex - on application exit X-Git-Tag: V5_1_1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=59c8b3d90faf41c2e28cd489e9fb5da3add7a93d;p=modules%2Fgui.git Avoid QFatal error - unlocking non-locked mutex - on application exit --- diff --git a/src/Session/SALOME_Session_Server.cxx b/src/Session/SALOME_Session_Server.cxx index 4e60a9da4..f767206e8 100755 --- a/src/Session/SALOME_Session_Server.cxx +++ b/src/Session/SALOME_Session_Server.cxx @@ -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; } }