[Mono-bugs] [Bug 67039][Nor] Changed - [PATCH] Delegates returned from a PInvoke call are improperly marshalled

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 29 Sep 2004 12:23:54 -0400 (EDT)


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 vargaz@freemail.hu.

http://bugzilla.ximian.com/show_bug.cgi?id=67039

--- shadow/67039	2004-09-29 12:02:00.000000000 -0400
+++ shadow/67039.tmp.11814	2004-09-29 12:23:54.000000000 -0400
@@ -116,6 +116,12 @@
 mono_ftn_to_delegate.  I tested the code on line 2687 which appears to happen when a 
 delegate in native land invokes with a delegate as a argument.  That works as well.  I also 
 introduced the mutex locks that you wanted.
 
 -kangaroo
 
+
+------- Additional Comments From vargaz@freemail.hu  2004-09-29 12:23 -------
+delegate_hash_table_remove (this) could be called from
+mono_delegate_free_ftnptr () so there is no need
+for the new icall and the delegate_marshalled field in Delegate.
+