I have a big C++ MFC solution, which opens WPF dialogs with Telerik RadCartesianChart.
When the ViewModel is static (singleton) I have memory leak.
Reporting version 10.0.16.204 Q1 2016 SP1
WPF controls version 2016.1.217.45
On the attached MFC project ,When you press the OK Button, the
WPF dialog is opened.
On each button pressed, the dialog shows the delta of the memory consumption on
top of the dialog.
If the view model is not static or the DataSource is not connected in the XAML
I don’t have any memory leaks.
However, if both condition applies the memory leak happens.
link to the solution VS2013