Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Memory leak (Read 1026 times)
ruki
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 11
Joined: Oct 5th, 2023
Memory leak
Nov 13th, 2023 at 7:59am
Print Post  
Whilst trying to sort out memory leaks in my app I came across what I believe is a memory leak in the VirtualKeyboard.

If I comment out the VirtualKeyboard from the XAML all is ok. It is wrapped in a Stackpanel in a user control called RegistrationScreen.

This user control is displayed in a ContentPresenter of a Window. ContentPreseter gets replaced with other user controls (screens of my app).

  

Capture_011.PNG ( 13 KB | 25 Downloads )
Capture_011.PNG
Back to top
 
IP Logged
 
ruki
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 11
Joined: Oct 5th, 2023
Re: Memory leak
Reply #1 - Nov 13th, 2023 at 8:09am
Print Post  
Ok by calling VirtualKeyboard.Dispose() in the user control's unloaded event seems to have fixed this.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint