From: jprocter Date: Wed, 13 Aug 2008 10:42:21 +0000 (+0000) Subject: do not try to cancel jobs that cannot be cancelled X-Git-Tag: Release_2_4~30 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=15a7fb10aaf9537b51a4412229dfdabd681c4d0f;p=jalview.git do not try to cancel jobs that cannot be cancelled --- diff --git a/src/jalview/gui/WebserviceInfo.java b/src/jalview/gui/WebserviceInfo.java index b30837f..5f02c09 100755 --- a/src/jalview/gui/WebserviceInfo.java +++ b/src/jalview/gui/WebserviceInfo.java @@ -241,7 +241,7 @@ public class WebserviceInfo extends GWebserviceInfo { // System.out.println("Shutting down webservice client"); WSClientI service = thisinfo.getthisService(); - if (service != null) + if (service != null && service.isCancellable()) { service.cancelJob(); }