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

Memory leak when using ComboBox #197

Closed
kirill-782 opened this issue Apr 29, 2023 · 2 comments
Closed

Memory leak when using ComboBox #197

kirill-782 opened this issue Apr 29, 2023 · 2 comments

Comments

@kirill-782
Copy link

Describe the bug

If a combobox appears in the window, then after closing the window, the window instance will not be collected by the garbage collector

Steps to reproduce the bug

  1. Create a window
  2. Add to the Combobox window
  3. Open the window
  4. Close the window

Expected behavior

Window instance available for garbage collection

Screenshots

Link graph when window is closed (leak)
image

Link graph when window is open
image

NuGet package version

HandyControls (Custom version) 3.4.5

IDE

Visual Studio 2019

Framework type

.Net Framework 4.7.2

Windows version

No response

Additional context

No response

@PIE-kimty
Copy link

Yes, I agree. I also had a hard time finding the memory leak because of the same problem. Currently, the existing WPF ComboBox is being used or replaced with another ComboBox.
But other features work very well. thank you

Visual Studio 2022
.NET 6.0
Windows 11

@ghost1372
Copy link
Owner

report it in original repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants