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=8c6f32d357c19e8b85d0dcdcca18e8b5550d295a;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