Skip to content

Commit

Permalink
Merge pull request #7281 from alvasw/Socks5MultiDiscovery_Shutdown_pe…
Browse files Browse the repository at this point in the history
…er_discovery_methods

Socks5MultiDiscovery: Shutdown peer discovery methods
  • Loading branch information
alejandrogarcia83 authored Nov 5, 2024
2 parents 2500907 + b8c46b1 commit 4a65e40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/src/main/java/bisq/network/Socks5MultiDiscovery.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,6 @@ public InetSocketAddress[] getPeers(long services, long timeoutValue, TimeUnit t

@Override
public void shutdown() {
//TODO should we add a DnsLookupTor.shutdown() ?
discoveryList.forEach(PeerDiscovery::shutdown);
}
}

0 comments on commit 4a65e40

Please sign in to comment.