A WPF window doesn't release the memory after closed

后端 未结 3 656
灰色年华
灰色年华 2021-02-08 20:36

I\'m stilling trying to figure out the answer to this question: https://stackoverflow.com/questions/14379994/wpf-memory-optimization-advice

So I created a test code:

3条回答
  •  遥遥无期
    2021-02-08 21:27

    .NET garbage collector automatically takes care of removing objects which are not referenced any more.Take a look at this MSDN

提交回复
热议问题