Merge branch 'bug/JAL-2864nullOverviewCanvas' into develop
[jalview.git] / src / jalview / appletgui / OverviewCanvas.java
index e99c021..07f5919 100644 (file)
@@ -162,4 +162,12 @@ public class OverviewCanvas extends Component
     }
   }
 
+  /**
+   * Nulls references to protect against potential memory leaks
+   */
+  void dispose()
+  {
+    od = null;
+  }
+
 }