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

Fix for issue #146: Performance Counter Instances Never Removed #149

Merged
merged 2 commits into from
Sep 22, 2016

Conversation

mackenzieajudd
Copy link
Contributor

The fix turned out to be quite simple (thanks @jonorossi for the tips!), the InstanceLifetime of the created PerformanceCounter had to be set to Process. This causes the created performance counter instances to be removed when the process closes.

I also updated performance-counters.md to reflect this.

Copy link
Contributor

@kenegozi kenegozi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for taking care of changelog and doc!

@kkozmic
Copy link
Contributor

kkozmic commented Sep 22, 2016

Nice one

Copy link
Member

@jonorossi jonorossi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mackenzieajudd, once you fix my comment in the changelog I'll merge it.

@@ -975,3 +975,5 @@ Beta 1 - 21/jan/2005
- Fixed: Remove method

- Fixed: Windsor: Proxy for components with (service != impl)

- Changed: Performance Counter InstanceLifetime
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for updating the changelog, however it is sorted with the newest releases at the top. Could you move this to the first line in the file, we add the release line once we ship.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woops, moved it to the first line and updated the formatting to match others.

@jonorossi
Copy link
Member

Looks good, fixes #146.

@jonorossi jonorossi merged commit 4a791f9 into castleproject:master Sep 22, 2016
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

Successfully merging this pull request may close these issues.

4 participants