You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OLinq currently implements IDisposable from the View and Buffer down through the operation graph into any underlying sources to handle event unsubscriptions. This works if the lifetime of the View or Buffer is carefully managed. However, in most WPF applications, the lifetime of objects exposed from the ViewModel is not carefully managed. The window is just closed.
Consequently if event subscriptions are held to objects that are not scoped to the Window, these references will end up preventing the GC from disposing entire sets of instances and UI resources.
The text was updated successfully, but these errors were encountered:
OLinq currently implements IDisposable from the View and Buffer down through the operation graph into any underlying sources to handle event unsubscriptions. This works if the lifetime of the View or Buffer is carefully managed. However, in most WPF applications, the lifetime of objects exposed from the ViewModel is not carefully managed. The window is just closed.
Consequently if event subscriptions are held to objects that are not scoped to the Window, these references will end up preventing the GC from disposing entire sets of instances and UI resources.
The text was updated successfully, but these errors were encountered: