From: vsr Date: Mon, 23 Mar 2009 11:02:10 +0000 (+0000) Subject: Avoid QFatal error - unlocking non-locked mutex - on application exit X-Git-Tag: V4_1_5rc1~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=954eb2e03f5ed0506334bcea3ce00da6c5b44a4b;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 27e17b81e..d76f1e8f2 100755 --- a/src/Session/SALOME_Session_Server.cxx +++ b/src/Session/SALOME_Session_Server.cxx @@ -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; } }