From 59c8b3d90faf41c2e28cd489e9fb5da3add7a93d Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 23 Mar 2009 11:00:02 +0000 Subject: [PATCH] Avoid QFatal error - unlocking non-locked mutex - on application exit --- src/Session/SALOME_Session_Server.cxx | 1 + 1 file changed, 1 insertion(+) 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; } } -- 2.39.2