From: jfa Date: Fri, 18 Jan 2008 09:55:54 +0000 (+0000) Subject: NPAL18595: Urgent: SIGSEGV in VISU on Mandriva 2007. X-Git-Tag: V4_1_1rc1~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b265f256ecb33af8cd04794fa9dd5acebf93d744;p=modules%2Fvisu.git NPAL18595: Urgent: SIGSEGV in VISU on Mandriva 2007. --- 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)); }