From: Jim Procter Date: Thu, 10 Oct 2019 14:14:36 +0000 (+0100) Subject: JAL-3070 registerWorker start its thread automatically, so don’t also call startWorker ! X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=1dca73fef0af33d9b255793563308845163afa2d;p=jalview.git JAL-3070 registerWorker start its thread automatically, so don’t also call startWorker ! --- diff --git a/src/jalview/ws/jws2/SequenceAnnotationWSClient.java b/src/jalview/ws/jws2/SequenceAnnotationWSClient.java index 501e93d..11ce798 100644 --- a/src/jalview/ws/jws2/SequenceAnnotationWSClient.java +++ b/src/jalview/ws/jws2/SequenceAnnotationWSClient.java @@ -116,9 +116,10 @@ public class SequenceAnnotationWSClient extends Jws2Client MessageManager.getString("error.implementation_error"), x); } - alignFrame.getViewport().getCalcManager().registerWorker(worker); - alignFrame.getViewport().getCalcManager().startWorker(worker); - + alignFrame.getViewport().getCalcManager().registerWorker(worker); // also + // starts + // the + // worker } else {