Author: toshok
Date: 2006-11-15 20:54:29 -0500 (Wed, 15 Nov 2006)
New Revision: 67971
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
Log:
* Application.cs: null out the context's MainForm when we exit
RunLoop. Fixes a newly checked in unit test as well as the last
ODE from bug #79933.
2006-11-15 Chris Toshok <[EMAIL PROTECTED]>
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs
2006-11-16 01:52:52 UTC (rev 67970)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs
2006-11-16 01:54:29 UTC (rev 67971)
@@ -625,6 +625,7 @@
#endif
if (context.MainForm != null) {
context.MainForm.context = null;
+ context.MainForm = null;
}
if (!Modal) {
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-11-16 01:52:52 UTC (rev 67970)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-11-16 01:54:29 UTC (rev 67971)
@@ -1,5 +1,11 @@
2006-11-15 Chris Toshok <[EMAIL PROTECTED]>
+ * Application.cs: null out the context's MainForm when we exit
+ RunLoop. Fixes a newly checked in unit test as well as the last
+ ODE from bug #79933.
+
+2006-11-15 Chris Toshok <[EMAIL PROTECTED]>
+
* Form.cs (set_Owner): allow a null value so we can clear the
form's owner.
(Dispose): set all our owned_form's Owner properties to null, and
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches