DemotivatorGen: fix input picture object not being destroyed
This commit is contained in:
parent
df6268323c
commit
27ba72be33
@ -148,6 +148,7 @@ public class DemotivatorGen
|
||||
currentOrigin.Y += bt + pad;
|
||||
}
|
||||
|
||||
picture.Dispose();
|
||||
MemoryStream outStream = new MemoryStream();
|
||||
bitmap.Save(outStream, ImageFormat.Png);
|
||||
outStream.Seek(0, SeekOrigin.Begin);
|
||||
|
Loading…
Reference in New Issue
Block a user