jmol update
[jalview.git] / src / jalview / appletgui / AppletJmolBinding.java
index 12a09d5..472ac75 100644 (file)
@@ -129,5 +129,17 @@ class AppletJmolBinding extends jalview.ext.jmol.JalviewJmolBinding
   {
     return new AppletConsole(viewer2, consolePanel);
   }
+  @Override
+  protected void releaseUIResources()
+  {
+    appletJmolBinding = null;
+    if (console!=null) {
+      try {
+        console.setVisible(false);
+      } catch (Error e) {} catch (Exception x) {};
+      console=null;
+    }
+    
+  }
 
 }
\ No newline at end of file