-
-
Notifications
You must be signed in to change notification settings - Fork 929
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Description
When ContentDialog.ShowAsync() tasks hang (e.g., when opening a new dialog before the previous one closes), it causes memory leaks because resources are not properly released.
Impact
- Memory leaks: Large images, file handles, network connections, and event subscriptions are not disposed
- Progressive degradation: Application memory usage grows over time
- Potential crashes: May lead to OutOfMemoryException in long-running sessions
To Reproduce
ShowAsync-NoResult.mp4
Expected behavior
ShowAsync-Fixed.mp4
Screenshots
No response
OS version
Windows 11
.NET version
All
WPF-UI NuGet version
All
Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working