On the one hand, the event's docs say
... you must detach your event handlers when your application is disposed, or memory leaks will result.
On the other hand, its class's docs say:
does not affect desktop applications
So is the event's documentation simply relying on the class's? Or will it leak from a Winforms application as well?
Aucun commentaire:
Enregistrer un commentaire