Plot model should only keep a weak reference to the plot control

Jan 24, 2014 at 7:46 AM
In the documentation OxyPlot.PlotModel is described as the ViewModel part of the plot.

The model should not keep a strong reference on the view (plot control).
As this would keep the control alive when the containing view of the plot control gets closed.
Using a WeakReference here would do the decoupling.

What do you think?
Coordinator
Jan 24, 2014 at 7:51 PM
Agree on this, and WeakReference would probably be a good solution.
I have added https://oxyplot.codeplex.com/workitem/10119