From 954eb2e03f5ed0506334bcea3ce00da6c5b44a4b Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 23 Mar 2009 11:02:10 +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 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; } } -- 2.39.2