protected override void DisposeManagedResources() { base.DisposeManagedResources(); Image?.Dispose(); Image = null; Miniature?.Dispose(); Miniature = null; }
protected override void DisposeManagedResources() { base.DisposeManagedResources(); Miniature?.Dispose(); Freehand?.Dispose(); foreach (var drawable in Drawables) { drawable.Dispose(); } Drawables.Clear(); }
protected override void DisposeManagedResources() { base.DisposeManagedResources(); Miniature?.Dispose(); foreach (var drawing in Drawings) { drawing.Dispose(); } Drawings.Clear(); foreach (var tag in Tags) { tag.Dispose(); } Tags.Clear(); Players.Clear(); Teams.Clear(); Project = null; Storage = null; EventType = null; }