Skip to content

Wpf: Fix a few potential memory leaks#2900

Merged
cwensley merged 1 commit intopicoe:developfrom
cwensley:curtis/wpf-memory-leaks
Feb 13, 2026
Merged

Wpf: Fix a few potential memory leaks#2900
cwensley merged 1 commit intopicoe:developfrom
cwensley:curtis/wpf-memory-leaks

Conversation

@cwensley
Copy link
Member

@cwensley cwensley commented Feb 13, 2026

First, GridView would never unsubscribe from the NotifyCollectionChanged event of its DataStore even after setting to another data store or to null.

Second, Drawables would sometimes never be GC'd if the ParentWindow instance is no longer available during UnLoad.

@cwensley cwensley added this to the 2.11.0 milestone Feb 13, 2026
@cwensley cwensley added the bug label Feb 13, 2026
@cwensley cwensley merged commit 4db8891 into picoe:develop Feb 13, 2026
3 checks passed
@cwensley cwensley deleted the curtis/wpf-memory-leaks branch February 13, 2026 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant