Dispose bitmap to unlock file in test

Former-commit-id: a754d57421
This commit is contained in:
Malte Rosenbjerg 2020-05-12 22:50:27 +02:00
parent 18cb87559d
commit 7b935432e2

View file

@ -462,6 +462,7 @@ public void Video_Snapshot_PersistSnapshot()
Assert.AreEqual(input.PrimaryVideoStream.Width, bitmap.Width);
Assert.AreEqual(input.PrimaryVideoStream.Height, bitmap.Height);
Assert.AreEqual(bitmap.RawFormat, ImageFormat.Png);
bitmap.Dispose();
}
finally
{