IgnaceMaes / MaterialSkin

Theming .NET WinForms, C# or VB.Net, to Google's Material Design Principles.
MIT License
2.91k stars 843 forks source link

Possible memory leak on listview hover event #245

Open ThibaudMZN opened 5 years ago

ThibaudMZN commented 5 years ago

While hovering items quickly in a listview, CPU memory goes up before eventually triggering a garbage collection

ThibaudMZN commented 5 years ago

This behavior can be fixed by caching the final image to draw than dispose it, the "leak" seems to come from this part.

ThibaudMZN commented 5 years ago

I've created a pull request to fix this issue. #246