From: ouv Date: Tue, 10 Apr 2012 15:17:02 +0000 (+0000) Subject: IPAL22894: Crash on closing OCC view X-Git-Tag: V6_5_0a1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b3b12efd6024d4f07cfac55bbd471948d9ebc258;p=modules%2Fgui.git IPAL22894: Crash on closing OCC view --- diff --git a/src/LightApp/LightApp_Application.cxx b/src/LightApp/LightApp_Application.cxx index 1b3f0b958..470848b45 100644 --- a/src/LightApp/LightApp_Application.cxx +++ b/src/LightApp/LightApp_Application.cxx @@ -3493,7 +3493,10 @@ void LightApp_Application::removeViewManager( SUIT_ViewManager* vm ) aStudy->removeViewMgr(vm->getGlobalId()); STD_Application::removeViewManager( vm ); - delete vm; + + // IPAL22894: Crash on closing OCC view + //delete vm; + vm->deleteLater(); } /*!