2005-03-12 Joe Shaw <joeshaw@novell.com>
authorJoe Shaw <joeshaw@novell.com>
Sun, 13 Mar 2005 02:05:56 +0000 (02:05 +0000)
committerJoe Shaw <joeshaw@novell.com>
Sun, 13 Mar 2005 02:05:56 +0000 (02:05 +0000)
* mono/ProxyBuilder.cs (BuildFinalizer): Need to load arg 0
onto the eval stack when removing the delegate.

ChangeLog
mono/ProxyBuilder.cs

index 1aeafebf08aed388492cbb0ea1d20905677e3201..3a809c66157ec45b7880be4c455a8152852fe503 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-03-12  Joe Shaw  <joeshaw@novell.com>
+
+       * mono/ProxyBuilder.cs (BuildFinalizer): Need to load arg 0
+       onto the eval stack when removing the delegate.
+
 2005-03-12  Joe Shaw  <joeshaw@novell.com>
 
        * mono/dbus-sharp.dll.config.in: Don't hardcode 0 for
index 737a82afe3cca109607d7c35d9f0f654734d4753..8308823d664853d59e8f8c585bbb9bb8c6ce2b69 100644 (file)
@@ -478,6 +478,7 @@ namespace DBus
        ILGenerator generator = mb.GetILGenerator();
 
        //generator.EmitWriteLine("this.service.SignalCalled -= this.delegate_created");
+       generator.Emit (OpCodes.Ldarg_0);
        generator.Emit (OpCodes.Ldfld, fi);
        generator.Emit (OpCodes.Call, Service_RemoveSignalCalledMI);
        generator.Emit (OpCodes.Ret);