Socks5MultiDiscovery: Shutdown peer discovery methods

This commit is contained in:
Alva Swanson 2024-11-05 01:06:28 +00:00
parent bb3acb3fa9
commit b8c46b1e42
No known key found for this signature in database
GPG Key ID: 004760E77F753090

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);
}
}