recently I found an memory leak cased by MEF, when I defined a ViewModel like CodeEditViewModel with NonShared mark, when I close the view, the view model instance will still hold by the MEF container, so there will more and more instances in the container, can some one give me a solution about it.
recently I found an memory leak cased by MEF, when I defined a ViewModel like CodeEditViewModel with NonShared mark, when I close the view, the view model instance will still hold by the MEF container, so there will more and more instances in the container, can some one give me a solution about it.