2003-03-23 Martin Baulig <martin@ximian.com>
* glib/Object.cs (Dispose): Call `Objects.Remove (_obj)' here instead of in PerformQueuedUnrefs(). svn path=/trunk/gtk-sharp/; revision=12764
This commit is contained in:
parent
eed31b9cb6
commit
73ae9d533f
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-03-23 Martin Baulig <martin@ximian.com>
|
||||
|
||||
* glib/Object.cs (Dispose): Call `Objects.Remove (_obj)' here
|
||||
instead of in PerformQueuedUnrefs().
|
||||
|
||||
2003-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
|
||||
|
||||
* sample/Fifteen.cs: work-around for bug 106145 in gnome bugzilla.
|
||||
|
|
|
@ -66,7 +66,6 @@ namespace GLib {
|
|||
if (o._obj == IntPtr.Zero)
|
||||
continue;
|
||||
|
||||
Objects.Remove (o._obj);
|
||||
o.Unref ();
|
||||
o._obj = IntPtr.Zero;
|
||||
}
|
||||
|
@ -89,6 +88,7 @@ namespace GLib {
|
|||
return;
|
||||
|
||||
disposed = true;
|
||||
Objects.Remove (_obj);
|
||||
lock (PendingDestroys){
|
||||
PendingDestroys.Enqueue (this);
|
||||
lock (typeof (Object)){
|
||||
|
|
Loading…
Add table
Reference in a new issue