Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unadvertise a service Takes long time to Release Resources #80

Open
Raj123456788 opened this issue Oct 5, 2019 · 1 comment
Open

Unadvertise a service Takes long time to Release Resources #80

Raj123456788 opened this issue Oct 5, 2019 · 1 comment

Comments

@Raj123456788
Copy link

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?

@richardschneider
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants