Posted 18 years ago
by Robert Conde
-
Senior Systems Engineer,
a.i. solutions
There appears to be memory leak with SyntaxEditorRenderer due to the attachment of the UserPreferencesChanged event. While you attach in the constructor, and detach in the dispose method, the detachment in the dispose method is wrapped in a "if(disposing)" block. Therefore, if dispose is not explicitly called on the renderer, which I'm guessing fails to happen somewhere internally, the finalizer will instead call dispose(false) and the event never gets detached. Good times!!!
[Modified at 04/06/2007 03:13 PM]
[Modified at 04/06/2007 03:13 PM]
Robert Conde