From 9bb7b5aad8ec8d4e6beffe3a7c11acbcc4840576 Mon Sep 17 00:00:00 2001 From: vsr Date: Mon, 21 Sep 2009 09:53:23 +0000 Subject: [PATCH] Fix problem of study closing in standalone mode --- src/SALOMEDS/SALOMEDS_Study_i.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/SALOMEDS/SALOMEDS_Study_i.cxx b/src/SALOMEDS/SALOMEDS_Study_i.cxx index c6127cc21..6b90ace27 100644 --- a/src/SALOMEDS/SALOMEDS_Study_i.cxx +++ b/src/SALOMEDS/SALOMEDS_Study_i.cxx @@ -84,8 +84,10 @@ SALOMEDS_Study_i::~SALOMEDS_Study_i() PortableServer::ObjectId_var anObjectId = poa->servant_to_id(_builder); poa->deactivate_object(anObjectId.in()); _builder->_remove_ref(); + //delete implementation delete _impl; + _mapOfStudies.erase(_impl); } //============================================================================ -- 2.39.2