From 3569dc745be54c11a76413217879820abcf9a905 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 27 Aug 2009 16:43:54 +0000 Subject: [PATCH] Issue 0020458: [CEA 351] SIGSEGV on SALOME closing after Delete of VISU entry --- src/VISU_I/VISU_Prs3d_i.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/VISU_I/VISU_Prs3d_i.cc b/src/VISU_I/VISU_Prs3d_i.cc index fdc4ef08..620cf98d 100644 --- a/src/VISU_I/VISU_Prs3d_i.cc +++ b/src/VISU_I/VISU_Prs3d_i.cc @@ -100,7 +100,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(); } -- 2.39.2