net-mdns
net-mdns copied to clipboard
Unadvertise a service Takes long time to Release Resources
I can see the Threads being still running and being stopped one by one. I have created 2 buttons for Publish & unpublish. It works fine for the first time if I publish or Unpublish. But if I publish again it takes time to publish. What might be the reason?
What do you mean by Publish? Can you point to your code?
This library uses Tasks and threads are only used indirectly by the task subsystem. My understanding is that Tasks use a cache of threads, so you will not see threads being disposed.
The key resource are the network sockets.