KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Working with WinForms you have to free memory after using gdi objects, event handlers, objects from native code, etc. In WinForms I used to remove for example event handlers in the dispose method. What is the best workaround to prevent memory leaks in Wpf ? Is it the same as in Winforms using Dispose pattern ? At all, do I have to care about event handlers, gdi objects in Wpf ? What about the runtime created resources( Brushes , etc)?
Tags (comma-separated)
Save Edits
Cancel