JAL-3009 news reader thread should be in background. TODO: patch newsreader so it... bugs/JAL-3009_blockingNetworkThreads
authorJim Procter <jprocter@issues.jalview.org>
Wed, 30 May 2018 10:50:19 +0000 (11:50 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Tue, 5 Jun 2018 16:24:21 +0000 (17:24 +0100)
src/jalview/gui/Desktop.java

index 8f04576..259e693 100644 (file)
@@ -515,7 +515,7 @@ public class Desktop extends jalview.jbgui.GDesktop
   {
     final Desktop me = this;
     // Thread off the news reader, in case there are connection problems.
-    addDialogThread(new Runnable()
+    new Thread(new Runnable()
     {
       @Override
       public void run()
@@ -526,7 +526,7 @@ public class Desktop extends jalview.jbgui.GDesktop
         showNews.setVisible(true);
         Cache.log.debug("Completed news thread.");
       }
-    });
+    }).start();
   }
 
   public void getIdentifiersOrgData()