Skip to content
Merged
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
2 changes: 1 addition & 1 deletion AIDevGallery/Samples/WCRAPIs/MagicEraser.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down