]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for bug IPAL19988 : 4.x: application hangs up after trying to close study (this...
authormkr <mkr@opencascade.com>
Tue, 24 Jun 2008 07:21:32 +0000 (07:21 +0000)
committermkr <mkr@opencascade.com>
Tue, 24 Jun 2008 07:21:32 +0000 (07:21 +0000)
src/VISU_I/VISU_Prs3d_i.cc

index 2a5ce7ff4554b99e9e535d9e9f57e54b6cb414b5..61276197d29073fc3d9cf3267ad5c2da547fc9e0 100644 (file)
@@ -99,7 +99,7 @@ VISU::Prs3d_i::~Prs3d_i()
 {
   if(MYDEBUG) MESSAGE("Prs3d_i::~Prs3d_i - this = "<<this);
   ProcessVoidEvent(new TInvokeSignalEvent(myRemoveActorsFromRendererSignal));
-  SetCResult( NULL );
+  if(myResult) myResult->Destroy();
 }