Author: toshok
Date: 2006-07-07 12:50:37 -0400 (Fri, 07 Jul 2006)
New Revision: 62349
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs
Log:
* Control.cs (Dispose): release any Capture when disposing.
2006-07-07 Chris Toshok <[EMAIL PROTECTED]>
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-07-07 16:33:16 UTC (rev 62348)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-07-07 16:50:37 UTC (rev 62349)
@@ -1,5 +1,9 @@
2006-07-07 Chris Toshok <[EMAIL PROTECTED]>
+ * Control.cs (Dispose): release any Capture when disposing.
+
+2006-07-07 Chris Toshok <[EMAIL PROTECTED]>
+
* LinkLabel.cs (Select): if we chain up to the parent, set
focused_index to -1 so we'll search for the first available link
the next time the user tabs into us. Also, if the direction is
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs
2006-07-07 16:33:16 UTC (rev 62348)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs
2006-07-07 16:50:37 UTC (rev 62349)
@@ -735,6 +735,8 @@
protected override void Dispose(bool disposing) {
if (disposing) {
+ Capture = false;
+
if (dc_mem!=null) {
dc_mem.Dispose();
dc_mem=null;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches