CVSROOT: /sources/dotgnu-pnet
Module name: pnetlib
Branch:
Changes by: Heiko Weiss <[EMAIL PROTECTED]> 06/03/14 15:40:36
Modified files:
. : ChangeLog
Xsharp : Widget.cs
Log message:
Fixed detaching Widget.
Please have a look, if that breaks something.
Fixed: if U close a form, when the form was shown with Form.Show();
There is still a problem, when using Form.ShowDialog(). Still the
Finalizers are not called.
Need help.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/dotgnu-pnet/pnetlib/ChangeLog.diff?tr1=1.2367&tr2=1.2368&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/dotgnu-pnet/pnetlib/Xsharp/Widget.cs.diff?tr1=1.19&tr2=1.20&r1=text&r2=text
Patches:
Index: pnetlib/ChangeLog
diff -u pnetlib/ChangeLog:1.2367 pnetlib/ChangeLog:1.2368
--- pnetlib/ChangeLog:1.2367 Wed Mar 8 06:52:06 2006
+++ pnetlib/ChangeLog Tue Mar 14 15:40:36 2006
@@ -1,3 +1,7 @@
+2006-03-14 Heiko Weiss <[EMAIL PROTECTED]>
+
+ * Xsharp/Widget.cs: Fixed detaching Widget (MemoryLeak).
+
2006-03-08 Heiko Weiss <[EMAIL PROTECTED]>
* System.Windows.Forms/Control.cs: Fixed not processing mouse events if
Control is not enabled.
Index: pnetlib/Xsharp/Widget.cs
diff -u pnetlib/Xsharp/Widget.cs:1.19 pnetlib/Xsharp/Widget.cs:1.20
--- pnetlib/Xsharp/Widget.cs:1.19 Thu Dec 30 07:31:17 2004
+++ pnetlib/Xsharp/Widget.cs Tue Mar 14 15:40:36 2006
@@ -159,7 +159,9 @@
XDrawable tempHandle = handle;
Disassociate();
Xlib.XDestroyWindow(d,
(XWindow)tempHandle);
+
}
+ Detach(false); // must detach
}
finally
{
_______________________________________________
dotgnu-pnet-commits mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/dotgnu-pnet-commits