From 8d60f5c3375c9e0deaddf0dd8b9e06ebe3ee0908 Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Tue, 27 Aug 2013 16:08:17 +0100 Subject: [PATCH] JAL-1359 simpler logic for deciding if all threads have finished. Note: I couldn't reproduce the JAL-1359 bug after rebuilding my JABAWS development server - so trust me on this fix :) --- src/jalview/ws/jws2/Jws2Discoverer.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/jalview/ws/jws2/Jws2Discoverer.java b/src/jalview/ws/jws2/Jws2Discoverer.java index 8ad14e0..2724d29 100644 --- a/src/jalview/ws/jws2/Jws2Discoverer.java +++ b/src/jalview/ws/jws2/Jws2Discoverer.java @@ -189,7 +189,9 @@ public class Jws2Discoverer implements Runnable, WSMenuEntryProviderI ; for (JabaWsServerQuery squery : qrys) { - finished = finished && !squery.isRunning(); + if (squery.isRunning()){ + finished=false; + } } if (aborted) { -- 1.7.10.2