do not try to cancel jobs that cannot be cancelled
authorjprocter <Jim Procter>
Wed, 13 Aug 2008 10:42:21 +0000 (10:42 +0000)
committerjprocter <Jim Procter>
Wed, 13 Aug 2008 10:42:21 +0000 (10:42 +0000)
src/jalview/gui/WebserviceInfo.java

index b30837f..5f02c09 100755 (executable)
@@ -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();
                 }