From: gmungoc Date: Mon, 20 Jun 2016 09:10:24 +0000 (+0100) Subject: JAL-2130 call viewer.dispose() on closing Jmol X-Git-Tag: Release_2_10_0~164^2~2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=b3f1f3a43cb1fd27206b27ad6387440dc3a4e253;p=jalview.git JAL-2130 call viewer.dispose() on closing Jmol --- diff --git a/src/jalview/ext/jmol/JalviewJmolBinding.java b/src/jalview/ext/jmol/JalviewJmolBinding.java index 3f0847b..2133f2b 100644 --- a/src/jalview/ext/jmol/JalviewJmolBinding.java +++ b/src/jalview/ext/jmol/JalviewJmolBinding.java @@ -176,6 +176,7 @@ public abstract class JalviewJmolBinding extends AAStructureBindingModel // and shut down jmol viewer.evalStringQuiet("zap"); viewer.setJmolStatusListener(null); + viewer.dispose(); lastCommand = null; viewer = null; releaseUIResources();