mirror of
https://github.com/rosenbjerg/FFMpegCore.git
synced 2024-11-10 08:34:12 +01:00
Dispose bitmap to unlock file in test
This commit is contained in:
parent
ca89cac2f0
commit
a754d57421
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue