Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3166
Memory leak re-using Appearance from appearance collection.
posted

I have a appearance collection for commonly shared appearnace. This collection objects are re-used across different controls to provide consistent look and feel.

However, on profiling the code I observed the reference to the grid is held by the appearance object. That means the grid is not GC since appearance collection is maintained for the life of the application.

Is there are a way to remove the connection between grid and appearance when the grid is ready to disposed ?