ToolWindows is leaking viewmodel

Docking/MDI for WPF Forum

The latest build of this product (v21.1.1) was released 2 months ago, which was before this thread was created.
Posted 2 months ago by Michael Janulaitis
Version: 21.1.1
Avatar

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 2 months ago]

Comments (1)

Posted 2 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

For scenarios like this, please either give us code/steps to reproduce the problem in one of our samples, or make a new simple sample project that shows it happening and send that to our support address.  Reference this thread in the email you send and remove the bin/obj folders from the .zip so it doesn't get spam blocked.  Then we will debug with the sample and see what's going on.  Thanks!


Actipro Software Support

Add Comment

Please log in to a validated account to post comments.