protected override void Dispose(bool disposing) { if (image != null) { image.Dispose(); } base.Dispose(disposing); }
protected override void Dispose(bool disposing) { image?.Dispose(); image = null; base.Dispose(disposing); }