maui
maui copied to clipboard
net8 sr9 Win Platform Memory leak when multiple windows get closed
Description
Beginning memory about 106M
After open 100 windows about 503M
After closed 100 windows about 456M
Steps to Reproduce
Open the .sln by using vs2022 F5 to start debug the project Input a number 100 to the Entry Control Click the button "new windows" Observe the "Process Memory" part of the VS tool "Diagnostic Tools", the memory increase Click the button "Close all windows" Continue repeat step 4 to step 6
Link to public reproduction project repository
https://github.com/jingliancui/MAUIWinUIWinMemoryLeakIssue
Another native winui3 sampleapp, It looks like winui3 also have this issue WinUINativeSampleApp.zip
Version with bug
8.0.90 SR9
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Windows
Affected platform versions
No response
Did you find any workaround?
No
Relevant log output
No response