dbus/mono ProxyBuilder.cs,1.5.2.2,1.5.2.3

Joe Shaw joe at freedesktop.org
Sat Mar 12 18:04:51 PST 2005


Update of /cvs/dbus/dbus/mono
In directory gabe:/tmp/cvs-serv12181/mono

Modified Files:
      Tag: dbus-0-23
	ProxyBuilder.cs 
Log Message:
2005-03-12  Joe Shaw  <joeshaw at novell.com>

	* mono/ProxyBuilder.cs (BuildFinalizer): Need to load arg 0
	onto the eval stack when removing the delegate.

Index: ProxyBuilder.cs
===================================================================
RCS file: /cvs/dbus/dbus/mono/ProxyBuilder.cs,v
retrieving revision 1.5.2.2
retrieving revision 1.5.2.3
diff -u -d -r1.5.2.2 -r1.5.2.3
--- ProxyBuilder.cs	13 Mar 2005 01:11:59 -0000	1.5.2.2
+++ ProxyBuilder.cs	13 Mar 2005 02:04:49 -0000	1.5.2.3
@@ -478,6 +478,7 @@
        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);



More information about the dbus-commit mailing list