From 88583a63b770eaa55a17f6fae6f1c57e1dbb1666 Mon Sep 17 00:00:00 2001 From: Mateusz Warowny Date: Fri, 25 Mar 2022 18:52:05 +0100 Subject: [PATCH] JAL-3878 Clear services list on reload. --- src/jalview/ws2/client/api/AbstractWebServiceDiscoverer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/ws2/client/api/AbstractWebServiceDiscoverer.java b/src/jalview/ws2/client/api/AbstractWebServiceDiscoverer.java index 965abca..27a6660 100644 --- a/src/jalview/ws2/client/api/AbstractWebServiceDiscoverer.java +++ b/src/jalview/ws2/client/api/AbstractWebServiceDiscoverer.java @@ -145,7 +145,7 @@ public abstract class AbstractWebServiceDiscoverer implements WebServiceDiscover CompletableFuture>> task = oldTask .handleAsync((_r, _e) -> { Cache.log.info("Reloading services for " + this); - fireServicesChanged(Collections.emptyList()); + fireServicesChanged(services = Collections.emptyList()); var allServices = new ArrayList>(); for (var url : getUrls()) { -- 1.7.10.2