From: mpv Date: Wed, 15 Jul 2015 12:19:50 +0000 (+0300) Subject: Free memory on update process finished X-Git-Tag: V_1.3.0~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FDev_1.3.0;p=modules%2Fshaper.git Free memory on update process finished --- diff --git a/src/Model/Model_Update.cpp b/src/Model/Model_Update.cpp index 617436218..8d97e9740 100644 --- a/src/Model/Model_Update.cpp +++ b/src/Model/Model_Update.cpp @@ -221,6 +221,7 @@ void Model_Update::processOperation(const bool theTotalUpdate, const bool theFin } if (isAutomaticChanged) myIsAutomatic = false; + myProcessed.clear(); // to avoid keeping features in memory myIsExecuted = false; // flush to update display