Skip to content

Commit

Permalink
Merge pull request #36 from lindexi/master
Browse files Browse the repository at this point in the history
Fix memory leak
  • Loading branch information
Abi Bennet authored Jul 8, 2019
2 parents 1eeb30a + 0b5483a commit a59e758
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ async void LoadSurface(CompositionDrawingSurface surface, string path)
var rect = new Windows.Foundation.Rect(0, 0, _rectWidth, _rectHeight);
ds.DrawImage(bitmap, 0, 0, rect);
}

stream.Dispose();
bitmap.Dispose();
}

IGraphicsEffect CreateAcrylicEffectGraph()
Expand Down

0 comments on commit a59e758

Please sign in to comment.