[Mono-bugs] [Bug 77146][Nor] Changed - DynamicMethods leak memory

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jun 12 11:02:23 EDT 2007

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 robertj at gmx.net.


--- shadow/77146	2007-06-12 06:40:55.000000000 -0400
+++ shadow/77146.tmp.29458	2007-06-12 11:02:23.000000000 -0400
@@ -48,6 +48,12 @@
 ------- Additional Comments From vargaz at gmail.com  2007-06-12 06:40 -------
 The problem with this patch is the MonoMethod belongs to the delegate
 returned by the CreateDelegate which can outlive the DynamicMethod which
 created it.
+------- Additional Comments From robertj at gmx.net  2007-06-12 11:02 -------
+Zoltan, the delegate created by DynamicMethod.CreateDelegate() is
+actually stored in the DynamicMethod instance. They will be collected
+together, isn't it? Or do I miss something?

More information about the mono-bugs mailing list