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.
Unfortunately, activation email could not send to your email. Please try again.

Memory Leaks with AppAutoComplete

Thread ID:

Created:

Updated:

Platform:

Replies:

72238 Mar 10,2008 01:23 PM Mar 28,2008 04:47 AM Windows Forms 1
loading
Tags: Tools
Tom Hart
Asked On March 10, 2008 01:23 PM

Version 6.1.0.34, VS.NET 2005

When I dispose an AutoComplete control, the control does not get garbage collected.

Memory profiling shows that a UserPreferenceChangedEventHandler is not getting deregistered and it holds a reference to the AutoCompletePopupHost.

I was able to work around the problem using reflection but this is not a very good solution:

SystemEvents.UserPreferenceChanged -= (UserPreferenceChangedEventHandler)Delegate.CreateDelegate ( typeof (UserPreferenceChangedEventHandler), AutoCompletePopup.PopupHost, "UserPreferenceChanged");


Administrator [Syncfusion]
Replied On March 28, 2008 04:47 AM

Hi Tom,

Thank you for your interest in Syncfusion Products.

Instance of AutoComplete is not garbage collected after getting disposed.

We suspect this issue to be a defect. We have sent this to our developers for more analysis. We will update you once we getback from them.

Please let me know if any concerns.

Regards,
Fathima


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.

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.

;