Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Summary of changes This PR changes the way we handle `ICorProfilerMethodEnum` to use the `COMPtr` to release it when it's out of scope. ## Reason for change Match the rejitprofiler test in the dotnet runtime repo: https://github.com/dotnet/runtime/blob/98049e56a415d9bcf2d002fba71f399ba08cf39c/src/tests/profiler/native/rejitprofiler/rejitprofiler.cpp#L280-L281 and instead of manually calling `Release` use the `COMPtrHolder` to automatically release it.
- Loading branch information