Deleting project/pages/usercontrols from memory

前端 未结 3 1325
滥情空心
滥情空心 2021-02-18 16:10

I have made a windows phone app, that unfortunately has some memory leak, because pages are not removed correctly. This was solved by using the answer:

Remove Pages wind

3条回答
  •  醉梦人生
    2021-02-18 16:33

    I think you can make the object singleton and you can clear the values of objects manually when accordingly. Please refer the link below https://msdn.microsoft.com/en-us/library/ff650316.aspx

提交回复
热议问题