diff --git a/src/main/java/com/sparrowwallet/sparrow/terminal/ProxyStatusLabel.java b/src/main/java/com/sparrowwallet/sparrow/terminal/ProxyStatusLabel.java index cb983842..46a1d002 100644 --- a/src/main/java/com/sparrowwallet/sparrow/terminal/ProxyStatusLabel.java +++ b/src/main/java/com/sparrowwallet/sparrow/terminal/ProxyStatusLabel.java @@ -25,6 +25,7 @@ public class ProxyStatusLabel extends Label { public void update() { if(!AppServices.isUsingProxy()) { + proxyConnectionTest.cancel(); getTextGUI().getGUIThread().invokeLater(() -> setText("")); } else if(!Config.get().isUseProxy()) { proxyConnectionTest.cancel();