diff --git a/Yugen.Mosaic.Uwp/Models/Tile.cs b/Yugen.Mosaic.Uwp/Models/Tile.cs index 1ac3899..99b72bf 100644 --- a/Yugen.Mosaic.Uwp/Models/Tile.cs +++ b/Yugen.Mosaic.Uwp/Models/Tile.cs @@ -40,8 +40,8 @@ public void Process(Size tileSize, IRandomAccessStream RandomAccessStream) public void Dispose() { - ResizedImage.Dispose(); + ResizedImage?.Dispose(); ResizedImage = null; } } -} \ No newline at end of file +}