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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Memory Leaks with AppAutoComplete

Thread ID:

Created:

Updated:

Platform:

Replies:

72238 Mar 10,2008 05:23 PM UTC Mar 28,2008 08:47 AM UTC WinForms 1
loading
Tags: Tools
Tom Hart
Asked On March 10, 2008 05:23 PM UTC

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 08:47 AM UTC

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.

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

;