From cc048fe72decb21c9e88ea1426db6e3680aaeba1 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 24 Sep 2012 11:19:01 +0000 Subject: [PATCH] Remove this from StudyContextStruct at destructor --- src/SMESH/SMESH_Hypothesis.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/SMESH/SMESH_Hypothesis.cxx b/src/SMESH/SMESH_Hypothesis.cxx index 711f463c8..48f293a56 100644 --- a/src/SMESH/SMESH_Hypothesis.cxx +++ b/src/SMESH/SMESH_Hypothesis.cxx @@ -63,6 +63,8 @@ SMESH_Hypothesis::SMESH_Hypothesis(int hypId, SMESH_Hypothesis::~SMESH_Hypothesis() { MESSAGE("SMESH_Hypothesis::~SMESH_Hypothesis"); + StudyContextStruct* myStudyContext = _gen->GetStudyContext(_studyId); + myStudyContext->mapHypothesis[_hypId] = 0; } //============================================================================= -- 2.39.2