]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
IPAL22894: Crash on closing OCC view
authorouv <ouv@opencascade.com>
Tue, 10 Apr 2012 15:17:02 +0000 (15:17 +0000)
committerouv <ouv@opencascade.com>
Tue, 10 Apr 2012 15:17:02 +0000 (15:17 +0000)
src/LightApp/LightApp_Application.cxx

index 1b3f0b958c65675508c752b33e0278a9b7c2e955..470848b45ee8b405f010e386e9de3743d66ed41a 100644 (file)
@@ -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();
 }
 
 /*!