Message 1 of 9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
The other day, I was wondering whether or not I should clean up my ExternalEvents when I close my modeless windows.
The question came up when I needed to unsubscribe from certain events upon closing my windows, and I had no idea what happens to the ViewModel object and the ExternalEvent it references. Will the garbage collector clean up everything when the window is closed, or should I specifically dispose my ExternalEvent as well?
Solved! Go to Solution.