Feedback
Discarded windows now release their native resources
- Status
- Fixed
- Fixed in
- v26.7.5
- Source discussion
- https://forum.objo.dev/d/685-potential-leak-memory
- Last updated
- 2026-07-25
Upvotes
0 upvotes
Uses your Objo forum account.
Public summary
Discarded Window instances retain their Avalonia and native platform window resources when they go out of scope without being shown or explicitly closed. Repeatedly constructing temporary windows therefore causes substantial, persistent memory growth and can exhaust application memory. Native resources should be released automatically once an unopened window is no longer referenced.