Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions Source/OxyPlot.Xamarin.Mac/PlotView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,20 @@ private void Initialize() {
this.WantsLayer = true;
}

/// <summary>
/// Dispose the instance.
/// </summary>
/// <param name="disposing">Is the instance disposing.</param>
protected override void Dispose(bool disposing)
{
if (disposing)
{
this.Model = null;
}

base.Dispose(disposing);
}

/// <summary>
/// Gets or sets the <see cref="PlotModel"/> to show in the view.
/// </summary>
Expand Down