Skip to content

Commit 0058367

Browse files
author
Mirroring
committed
Merge commit '8f7048984a7a96799914f6a37058706cb7ba119d'
2 parents 3e2db8d + 8f70489 commit 0058367

File tree

1 file changed

+1
-1
lines changed
  • src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Media/Imaging

1 file changed

+1
-1
lines changed

src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Media/Imaging/BitmapDecoder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1190,7 +1190,7 @@ out decoder
11901190
}
11911191
catch
11921192
{
1193-
bitmapStream.Close();
1193+
bitmapStream?.Close();
11941194
#pragma warning disable 6500
11951195

11961196
decoderHandle = null;

0 commit comments

Comments
 (0)