diff --git a/AIDevGallery/Samples/WCRAPIs/MagicEraser.xaml.cs b/AIDevGallery/Samples/WCRAPIs/MagicEraser.xaml.cs index d563d9e6..9fa15231 100644 --- a/AIDevGallery/Samples/WCRAPIs/MagicEraser.xaml.cs +++ b/AIDevGallery/Samples/WCRAPIs/MagicEraser.xaml.cs @@ -190,7 +190,7 @@ private async void EraseObject_Click(object sender, RoutedEventArgs e) try { - // Ownership of outputBitmap is transferred to _inputBitmap, so it should not be disposed here + // outputBitmap's ownership is transferred to become the new _inputBitmap, so it should not be disposed here #pragma warning disable IDISP001 // Dispose created var outputBitmap = _eraser.RemoveFromSoftwareBitmap(_inputBitmap, _maskBitmap); #pragma warning restore IDISP001