lontivero / Open.NAT

Lightweight and easy-to-use class library to allow port forwarding in NAT devices with UPNP and/or PMP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Task.WhenAll throws when a searcher task completes while others are running

snake-4 opened this issue · comments

await Task.WhenAll(searcherTasks);

this line throws an exception that says Task cancelled if a searcher task finds a device before the other task quits.