]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Free memory on update process finished Dev_1.3.0
authormpv <mpv@opencascade.com>
Wed, 15 Jul 2015 12:19:50 +0000 (15:19 +0300)
committermpv <mpv@opencascade.com>
Wed, 15 Jul 2015 12:19:50 +0000 (15:19 +0300)
src/Model/Model_Update.cpp

index 617436218cceb347f13c559f9507f68a6f357053..8d97e97401be95d01673a496c3d055d80e6797f2 100644 (file)
@@ -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