From b8c46b1e425bb03992f5eaff2d50284be7d7bc9d Mon Sep 17 00:00:00 2001 From: Alva Swanson Date: Tue, 5 Nov 2024 01:06:28 +0000 Subject: [PATCH] Socks5MultiDiscovery: Shutdown peer discovery methods --- p2p/src/main/java/bisq/network/Socks5MultiDiscovery.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/src/main/java/bisq/network/Socks5MultiDiscovery.java b/p2p/src/main/java/bisq/network/Socks5MultiDiscovery.java index 214b07ec4e..a4e6accb14 100644 --- a/p2p/src/main/java/bisq/network/Socks5MultiDiscovery.java +++ b/p2p/src/main/java/bisq/network/Socks5MultiDiscovery.java @@ -80,6 +80,6 @@ public class Socks5MultiDiscovery implements PeerDiscovery { @Override public void shutdown() { - //TODO should we add a DnsLookupTor.shutdown() ? + discoveryList.forEach(PeerDiscovery::shutdown); } }