+2008-03-31 Geoff Norton <gnorton@novell.com>
+
+ * carbonFunctions.cs: Disable QDContext caching for now. It's
+ causing crashes in the finalizer code.
+
2008-03-06 Ivan N. Zlatev <contact@i-nz.net>
* ImageFormatConverter.cs:
IntPtr context = IntPtr.Zero;
lock (lockobj) {
+#if FALSE
if (contextReference [port] != null) {
CreateCGContextForPort (port, ref context);
} else {
QDBeginCGContext (port, ref context);
contextReference [port] = context;
}
+#else
+ CreateCGContextForPort (port, ref context);
+#endif
}
return context;
CGContextRestoreGState (context);
lock (lockobj) {
+#if FALSE
if (contextReference [port] != null && context == (IntPtr) contextReference [port]) {
QDEndCGContext (port, ref context);
contextReference [port] = null;
} else {
CFRelease (context);
}
+#else
+ CFRelease (context);
+#endif
}
}