JAL-3597 additional references nulled, bug in test corrected
[jalview.git] / src / jalview / gui / PCAPanel.java
index 96a8b0d..6c76c3e 100644 (file)
@@ -140,6 +140,12 @@ public class PCAPanel extends GPCAPanel
   protected void close_actionPerformed()
   {
     setPcaModel(null);
+    if (this.rc != null)
+    {
+      this.rc.sequencePoints = null;
+      this.rc.setAxisEndPoints(null);
+      this.rc = null;
+    }
   }
 
   @Override