From: asl Date: Thu, 10 Nov 2005 10:36:16 +0000 (+0000) Subject: PAL10468 - crash during connect to unload study X-Git-Tag: V3_1_0a3~36 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8b4990c5041a1ed861680a3c868b56e61278018b;p=modules%2Fgui.git PAL10468 - crash during connect to unload study --- diff --git a/src/LightApp/LightApp_Application.cxx b/src/LightApp/LightApp_Application.cxx index 3fc89457e..87e483ecf 100644 --- a/src/LightApp/LightApp_Application.cxx +++ b/src/LightApp/LightApp_Application.cxx @@ -1153,8 +1153,9 @@ void LightApp_Application::onStudyClosed( SUIT_Study* ) activateModule( "" ); // Bug 10396: remove all selectors - delete mySelMgr; - mySelMgr = new LightApp_SelectionMgr( this ); + //delete mySelMgr; + //mySelMgr = new LightApp_SelectionMgr( this ); + mySelMgr->clearSelected(); saveWindowsGeometry(); }