JAL-2864 OverviewCanvas.dispose() for applet
[jalview.git] / src / jalview / appletgui / OverviewCanvas.java
index 9597b44..03c93fa 100644 (file)
@@ -164,4 +164,12 @@ public class OverviewCanvas extends Component
     }
   }
 
+  /**
+   * Nulls references to protect against potential memory leaks
+   */
+  void dispose()
+  {
+    od = null;
+  }
+
 }