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

Memory Leaks with AppAutoComplete

Thread ID:





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

Version, 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.



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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