]> gerrit.simantics Code Review - simantics/interop.git/commitdiff
Dispose method for ModelUpdate 43/4643/1
authorMarko Luukkainen <marko.luukkainen@semantum.fi>
Fri, 5 Feb 2021 10:31:17 +0000 (12:31 +0200)
committerMarko Luukkainen <marko.luukkainen@semantum.fi>
Fri, 5 Feb 2021 10:31:17 +0000 (12:31 +0200)
gitlab #28

Change-Id: Idde40dd8bd02642b06b52b47c8015b566f3be988

org.simantics.interop.update/src/org/simantics/interop/update/model/ModelUpdate.java

index aabe29d58c59d5e09ec2cdf8f017dc6df46a1113..f3fbdda5b13877a3705b55901e1057aab3bb726a 100644 (file)
@@ -586,4 +586,19 @@ public abstract class ModelUpdate {
        public void removeListener(WarningListener listener) {
                warningListeners.remove(listener);
        }
+       
+       public void dispose() {
+               changes = null;
+               changes2 = null;
+               changes3 = null;
+               filters = null;
+               userFilters = null;
+               updateList = null;
+               updateList2 = null;
+               updateList3 = null;
+               updateTree = null;
+               updateTree2 = null;
+               updateTree3 = null;
+               updateNode3 = null;
+       }
 }