jmol update
[jalview.git] / src / jalview / gui / AppJmolBinding.java
index 5280900..f051838 100644 (file)
@@ -174,4 +174,17 @@ public class AppJmolBinding extends jalview.ext.jmol.JalviewJmolBinding
   {
     return new AppConsole(viewer, consolePanel, buttonsToShow);
   }
+
+  @Override
+  protected void releaseUIResources()
+  {
+    appJmolWindow = null;
+    if (console!=null) {
+      try {
+        console.setVisible(false);
+      } catch (Error e) {} catch (Exception x) {};
+      console=null;
+    }
+    
+  }
 }
\ No newline at end of file