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
DateTimePicker memory leak #1742
Comments
Hello, |
Hi! Yes, this case reproduced on v4.4 and over. I tested version 4.3 and dotMemory don't show event handler leak for this element. Details: Windows 10(19043.1415), .Net framework 4.7.2, VS 2022(17.5.4), but i think it isn't important. |
Hi, Thank you for pointing this out. |
这里是郭瑞的邮箱,已收到您的来件,我会尽快拜阅并给予您回复
|
Found this leak when update from 4.0.1 to 4.5.0. I looked at the code and found added some event in version 4.4.0 for this element.
If you open and then close window or remove element with dtp one of event don't detach and dtp remains in memory.
We can repeat this. Create window with button, on button click open new window with dtp, close window and repeat this 10-100 times.
.NET Framework 4.7.2
The text was updated successfully, but these errors were encountered: