JAL-3070 registerWorker start its thread automatically, so don’t also call startWorker !
authorJim Procter <jprocter@issues.jalview.org>
Thu, 10 Oct 2019 14:14:36 +0000 (15:14 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Thu, 10 Oct 2019 14:14:36 +0000 (15:14 +0100)
src/jalview/ws/jws2/SequenceAnnotationWSClient.java

index 501e93d..11ce798 100644 (file)
@@ -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
       {