tgjones / gemini

Gemini is an IDE framework similar in concept to the Visual Studio Shell. It uses AvalonDock and has an MVVM architecture based on Caliburn Micro.
Other
1.1k stars 298 forks source link

Memory leak casued by MEF #352

Open zhaoyipeng opened 1 year ago

zhaoyipeng commented 1 year ago

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.