Memory leak issue in WPFcustom textbox control

  • Thread starter Thread starter ssaran046
  • Start date Start date
S

ssaran046

Guest
Hi Team,

I have created custom textbox control which was derived from TextBox control. In CustomTextBox, the memory leak exists even after disposing all the instances of CustomTextBox because base class (TextBox) instances still persist. In the attached sample, I have disposed the CustomTextBox instance on window closed event. I have used the Ants Memory Profiler tool to find the memory leak and i have attached image which shows the TextBox memory leak report. Please check and do the needful.


1569009.png


Sample: Custom-TextBox



G.Saravanan

Continue reading...
 
Back
Top