From 33c924511af2a6491b8cefae01905c57672b7007 Mon Sep 17 00:00:00 2001 From: vsv Date: Thu, 8 Dec 2011 15:11:31 +0000 Subject: [PATCH] Temporary solution because of problems with memory stack --- src/CAM/CAM_Application.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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; } -- 2.39.2