microsoft-performance-toolkit-sdk
microsoft-performance-toolkit-sdk copied to clipboard
Loading a type multiple times during assembly discovery doesn't cleanup properly
Describe the bug If a DLL exists in multiple directories, it may be loaded and its types enumerated multiple times during assembly discovery. When this happens, the second time a type is loaded as a ProcessingSourceReference (for example), no references to it are kept, but it is not properly disposed of.
To Reproduce Steps to reproduce the behavior:
- Create a plugin that uses feature X/does Y
- Load the plugin with WPA/the Engine
- Perform actions ...
Expected behavior A clear and concise description of what you expected to happen.
Actual behavior A clear and concise description of what actually happens.
Screenshots If applicable, add screenshots to help explain your problem.
Version information (please complete the following information):
- SDK version:
- Engine version (if applicable):
- WPA version (if applicable):
Additional context Add any other context about the problem here.