Replies: 1 comment
-
Reference: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I understand that individual controls don't have a window handle, so they don't need a Dispose method. However, there are still a couple classes that need to have resources explicitly freed, like Window and DispatcherTimer. For these classes, we have to call a method with some random name (Close, Stop, ...). Making them IDisposable would advertise that fact and uniformize the handling from client code.
Beta Was this translation helpful? Give feedback.
All reactions