I am using .NET Memory Profile and see the ToolWindow maintains a reference to the view model causing a memory leak. If I remove view model from the ObservableCollection that is assigned to the ToolWindow the view model is not leaked. Also if I add a breakpoint to my code (outside of the memory profiler) I can see the view model finalizer is called. I can generate a screen shot showing the leak upon request.
[Modified 4 years ago]