From 8b4990c5041a1ed861680a3c868b56e61278018b Mon Sep 17 00:00:00 2001 From: asl Date: Thu, 10 Nov 2005 10:36:16 +0000 Subject: [PATCH] PAL10468 - crash during connect to unload study --- src/LightApp/LightApp_Application.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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(); } -- 2.39.2