dbus/mono ProxyBuilder.cs,1.7,1.8

Joe Shaw joe at freedesktop.org
Sat Mar 12 18:05:58 PST 2005


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

Modified Files:
	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.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- ProxyBuilder.cs	13 Mar 2005 01:13:04 -0000	1.7
+++ ProxyBuilder.cs	13 Mar 2005 02:05:56 -0000	1.8
@@ -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