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

System.NullReferenceException in PerfCounterRealTimeProbe.Dispose when counterPaths not valid #23

Closed
Expecho opened this issue Dec 8, 2016 · 1 comment
Labels

Comments

@Expecho
Copy link
Contributor

Expecho commented Dec 8, 2016

I have a situation in which the Dispose gets called while the Timer is null so the call to _timer.Dispose(); fails in PerfCounterRealTimeProbe.cs . I suggest to check the _timer for a null value before disposing. Shall I create a PR for that?

@Tuatan Tuatan added the bug label Dec 8, 2016
@Tuatan
Copy link
Collaborator

Tuatan commented Dec 8, 2016

Thanks for reporting the issue, @Expecho ,

Could you please create a PR to develop branch. Thank you!

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

No branches or pull requests

2 participants