We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

FYI: Possible memory leaks in winforms MDI

Thread ID:

Created:

Platform:

Replies:

25745 Mar 4,2005 06:21 PM UTC WinForms 0
loading
Tags: Tools
Mike
Asked On March 4, 2005 06:21 PM UTC

It appears as MDI Form is keeping EventHandleList around even after an MDI child form closes. This leaks objects associated with event handlers. I have used DevPartner to track those down. One place that reliably creates the leak is line #1539 in Renderers.cs, where toolTip.SetToolTip(..,..) associates tool tip text with control. The memory leak occurs only if the parent from is an MDI form. Another interesting aspect is that if you create a delegate on UI thread the _target seems to be leaking as if it’s kept in an EventHandlerList. I''ve found this article online that confirms my findings: http://dotnet247.com/247reference/msgs/36/180762.aspx

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;