From: vsr Date: Thu, 27 Aug 2009 16:49:08 +0000 (+0000) Subject: Issue 0020458: [CEA 351] SIGSEGV on SALOME closing after Delete of VISU entry X-Git-Tag: V4_1_0_maintainance_20090907~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=e9701f3660e1bb1e0719bf0279469bec310ee971;p=modules%2Fvisu.git Issue 0020458: [CEA 351] SIGSEGV on SALOME closing after Delete of VISU entry --- diff --git a/src/VISU_I/VISU_Prs3d_i.cc b/src/VISU_I/VISU_Prs3d_i.cc index 17710dac..4fe43410 100644 --- a/src/VISU_I/VISU_Prs3d_i.cc +++ b/src/VISU_I/VISU_Prs3d_i.cc @@ -99,7 +99,10 @@ VISU::Prs3d_i::~Prs3d_i() { if(MYDEBUG) MESSAGE("Prs3d_i::~Prs3d_i - this = "<Destroy(); + // VSR (27/08/09): Next line is commented, because it causes SIGSEGV + // : Actually not needed, 'cause GenericObjPtr watches to the stored pointer and + // : calls Destroy() in its destructor. + //if(myResult) myResult->Destroy(); }