mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-19 01:31:17 -10:00
resources, also clone the underlying stream, since it needs to stay around for the life of the image (gdi doesn't clone the underlying stream when cloning images, so when the gc disposes the original, it will also dispose the stream, which invalidates the clone). * System.Drawing/Bitmap.cs: Save the underlying stream when creating bitmaps from a clone under win32 * System.Drawing.Imaging/Metafile.cs: Save the underlying stream when creating from a clone under win32 [fixes #438886, Backported from r119580] 2008-11-21 Andreia Gaita <[email protected]> svn path=/branches/mono-2-2/mcs/; revision=119581