Memory leakage
Summary
In WPF project, simple create new window with VLC and close it with dispose leave objects in memory.
Minimal project and steps to reproduce
Sorry for the name of the project - initially it was created for other purpose.
https://github.com/MarcinJakubczyk/VlcDockCrash
- Run application
- Click second button to open and close 10 vlc windows
- Click GC
- Take a memory snapshot in VS diagnostic tools
- Search for MediaPlayer
What is the current bug behavior?
MediaPlayer stays in the memory.
What is the expected correct behavior?
MediaPlayer should release the memory
Relevant logs and/or screenshots
Environment
- OS: Windows 10
- Version 1909
- Device: PC Computer
- LibVLC version and architecture 3.0.11 x86 (Any CPU)
- LibVLCSharp version 3.4.5