Hi,
Iam working on a C# application currently and involved in
testing and fixing memory leaks in the application. The
application has one main form which exists throughout the
application cycle.
Im having problem with a tooltip.
I have link label in my form and attached a tooltip to it.
When i dispose the linklabel and the tooltip, the tooltip
still hangs in memory. I have tried out all possible
options by saying toolTip.RemoveA ll() and
toolTip.SetTool Tip(ctrl, null) in the dispose method. I
even tried toolTip.Dispose ().
As the linklabel is not getting disposed all the objects
which are referred by this are holding memory. They
include object[], TooltipNativeWi ndow, 3 Event handlers.
Thanks in Advance,
Gupta.
Iam working on a C# application currently and involved in
testing and fixing memory leaks in the application. The
application has one main form which exists throughout the
application cycle.
Im having problem with a tooltip.
I have link label in my form and attached a tooltip to it.
When i dispose the linklabel and the tooltip, the tooltip
still hangs in memory. I have tried out all possible
options by saying toolTip.RemoveA ll() and
toolTip.SetTool Tip(ctrl, null) in the dispose method. I
even tried toolTip.Dispose ().
As the linklabel is not getting disposed all the objects
which are referred by this are holding memory. They
include object[], TooltipNativeWi ndow, 3 Event handlers.
Thanks in Advance,
Gupta.