2008-08-27 Mike Kestner <mkestner@novell.com>

* glib/Signal.cs: multiple dispose guarding for closures.

svn path=/trunk/gtk-sharp/; revision=111710
This commit is contained in:
Mike Kestner 2008-08-27 14:54:34 +00:00
parent 568fd5e2a8
commit dee1e4f321
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2008-08-27 Mike Kestner <mkestner@novell.com>
* glib/Signal.cs: multiple dispose guarding for closures.
2008-08-27 Mike Kestner <mkestner@novell.com>
* generator/ManagedCallString.cs: fixes for data parameter hiding

View file

@ -160,7 +160,7 @@ namespace GLib {
if (tref.Target != null)
tref.Target.BeforeSignals.Remove (name);
before_closure = null;
} else {
} else if (o == after_closure) {
after_closure.Disposed -= new EventHandler (ClosureDisposedHandler);
after_closure.Invoked -= new ClosureInvokedHandler (ClosureInvokedCB);
if (tref.Target != null)