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

Leaking dynamically attached instrumentation methods #34

Open
SergeyKanzhelev opened this issue Nov 30, 2018 · 0 comments
Open

Leaking dynamically attached instrumentation methods #34

SergeyKanzhelev opened this issue Nov 30, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@SergeyKanzhelev
Copy link

SergeyKanzhelev commented Nov 30, 2018

This code unloads dynamically-loaded instrumentation methods:

https://github.com/Microsoft/CLRInstrumentationEngine/blob/0807cc84afec64f95b7fc5350331f1f8c7759efc/src/Extensions.BaseLib/HostExtensionBase.cpp#L328-L339

It seems that references on those instrumentation methods are leaking as destructor is not being called on dynamically loaded instrumentation method

@WilliamXieMSFT WilliamXieMSFT changed the title Leaking dynamically attached instrumentaiton methods Leaking dynamically attached instrumentation methods Nov 30, 2018
@WilliamXieMSFT WilliamXieMSFT added the bug Something isn't working label Nov 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants