From 7392c1ab8535a9b3ac0632843febb0e893d27178 Mon Sep 17 00:00:00 2001 From: apo Date: Mon, 17 Oct 2005 06:06:24 +0000 Subject: [PATCH] Fix on Bug GVIEW10305 Sigsegv after closing document Now, myRemoveActorsFromRendererSignal is called before VISU::Prs3d destruction --- src/VISU_I/VISU_Prs3d_i.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/VISU_I/VISU_Prs3d_i.cc b/src/VISU_I/VISU_Prs3d_i.cc index 0fd66505..ba9ba446 100644 --- a/src/VISU_I/VISU_Prs3d_i.cc +++ b/src/VISU_I/VISU_Prs3d_i.cc @@ -93,6 +93,7 @@ VISU::Prs3d_i ::~Prs3d_i() { if(MYDEBUG) MESSAGE("Prs3d_i::~Prs3d_i - this = "<Delete(); myResult->Destroy(); } @@ -167,7 +168,7 @@ VISU::Prs3d_i ::RemoveFromStudy() { myRemoveActorsFromRendererSignal(); - myActorCollection->RemoveAllItems(); + Destroy(); } -- 2.39.2