From: vsv Date: Thu, 8 Dec 2011 15:11:31 +0000 (+0000) Subject: Temporary solution because of problems with memory stack X-Git-Tag: TRIPOLI_320~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=33c924511af2a6491b8cefae01905c57672b7007;p=modules%2Fgui.git Temporary solution because of problems with memory stack --- diff --git a/src/CAM/CAM_Application.cxx b/src/CAM/CAM_Application.cxx index 8aa677e3c..c12317bc2 100755 --- a/src/CAM/CAM_Application.cxx +++ b/src/CAM/CAM_Application.cxx @@ -387,7 +387,8 @@ bool CAM_Application::activateModule( const QString& modName ) // VSR 25/10/2011: prevent nested activation/deactivation // See issues 0021307, 0021373 - BusyLocker lock( myBlocked ); + //BusyLocker lock( myBlocked ); + myBlocked = true; bool res = false; if ( !modName.isEmpty() ) @@ -405,6 +406,7 @@ bool CAM_Application::activateModule( const QString& modName ) else res = activateModule( 0 ); + myBlocked = false; return res; }