[Mono-bugs] [Bug 78766][Nor] Changed - System.Drawing.Image:Dispose exception

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jul 5 11:36:18 EDT 2006


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by sebastien at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=78766

--- shadow/78766	2006-07-05 11:35:43.000000000 -0400
+++ shadow/78766.tmp.11495	2006-07-05 11:36:18.000000000 -0400
@@ -66,6 +66,26 @@
 ImageFlagsHasRealPixelSize | ImageFlagsReadOnly
 <jchambers> let me see. I'm not sure if we ever actually logged it.
 but we get an error for almost all MWF apps on Windows.
 <spouliot> jchambers: I'll look at 78766, but I didn't know about your
 shutdown issue
 <jchambers> spouliot: looks like 78315 is our bug for it
+
+------- Additional Comments From sebastien at ximian.com  2006-07-05 11:36 -------
+// mcs 78766.cs -r:System.Drawing.dll
+
+using System;
+using System.Drawing;
+
+class Program {
+
+        static void Main (string[] args)
+        {
+		Image img = Image.FromFile (args [0]);
+		Console.WriteLine ("Flags {0}", img.Flags);
+		if (args.Length > 1) {
+			Console.WriteLine ("Disposed");
+			img.Dispose ();
+		}
+        }
+}
+


More information about the mono-bugs mailing list