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

Disabling/Disposing doesn't work once started without incoming resquests #106

Open
sebdg opened this issue Oct 18, 2015 · 0 comments
Open

Comments

@sebdg
Copy link

sebdg commented Oct 18, 2015

Hello,

I'm using Metrics.Net for a while now and since short I wanted to make it start/stop multiple times without unloading the AppDomain or process.
I see that the code is foreseen for such behavior.
Great work on the async part with cancellation token etc.

But there is still a caveat with the current nuget packaged version for 4.0
The Listener is blocking on its accept request and doesn't wan't to stop if there is no browser on the viz app.
I had to trick the system a bit by starting a WebRequest myself during the call to Dispose/DisableMetrics methods otherwise they are blocking forever.

Kind Regards

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

1 participant