Merge pull request #7281 from alvasw/Socks5MultiDiscovery_Shutdown_peer_discovery_methods

Socks5MultiDiscovery: Shutdown peer discovery methods
This commit is contained in:
Alejandro García 2024-11-05 05:08:07 +00:00 committed by GitHub
commit 4a65e40d5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -80,6 +80,6 @@ public class Socks5MultiDiscovery implements PeerDiscovery {
@Override
public void shutdown() {
//TODO should we add a DnsLookupTor.shutdown() ?
discoveryList.forEach(PeerDiscovery::shutdown);
}
}