From b265f256ecb33af8cd04794fa9dd5acebf93d744 Mon Sep 17 00:00:00 2001 From: jfa Date: Fri, 18 Jan 2008 09:55:54 +0000 Subject: [PATCH] NPAL18595: Urgent: SIGSEGV in VISU on Mandriva 2007. --- src/VISU_I/VISU_Prs3d_i.cc | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/src/VISU_I/VISU_Prs3d_i.cc b/src/VISU_I/VISU_Prs3d_i.cc index 6c32b168..466e104e 100644 --- a/src/VISU_I/VISU_Prs3d_i.cc +++ b/src/VISU_I/VISU_Prs3d_i.cc @@ -48,8 +48,7 @@ static int MYDEBUG = 0; //---------------------------------------------------------------------------- -VISU::Prs3d_i -::Prs3d_i() : +VISU::Prs3d_i::Prs3d_i() : PrsObject_i(SALOMEDS::Study::_nil()), myActorCollection(vtkActorCollection::New()), myIsActiveSatate(true) @@ -96,8 +95,7 @@ namespace VISU } //---------------------------------------------------------------------------- -VISU::Prs3d_i -::~Prs3d_i() +VISU::Prs3d_i::~Prs3d_i() { if(MYDEBUG) MESSAGE("Prs3d_i::~Prs3d_i - this = "<Destroy(); - } -}; + {} + virtual + void + Execute() + { + //TInvokeSignalEvent::Execute(); + myRemovable->Destroy(); + } + }; ProcessVoidEvent(new TEvent(myRemoveActorsFromRendererSignal, this)); } -- 2.39.2