JAL-2727 null additional references on close
[jalview.git] / src / jalview / viewmodel / AlignmentViewport.java
index a66855e..a8afe9a 100644 (file)
@@ -948,11 +948,11 @@ public abstract class AlignmentViewport
     groupConsensus = null;
     groupConservation = null;
     hconsensus = null;
+    hconservation = null;
     hcomplementConsensus = null;
     gapcounts = null;
-    // colour scheme may hold reference to consensus
-    residueShading = null;
-    // TODO remove listeners from changeSupport?
+    calculator = null;
+    residueShading = null; // may hold a reference to Consensus
     changeSupport = null;
     ranges = null;
     setAlignment(null);