mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2025-02-28 20:56:55 +00:00
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
|
@ -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>
|
2003-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
|
||||||
|
|
||||||
* sample/Fifteen.cs: work-around for bug 106145 in gnome bugzilla.
|
* sample/Fifteen.cs: work-around for bug 106145 in gnome bugzilla.
|
||||||
|
|
|
@ -66,7 +66,6 @@ namespace GLib {
|
||||||
if (o._obj == IntPtr.Zero)
|
if (o._obj == IntPtr.Zero)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
Objects.Remove (o._obj);
|
|
||||||
o.Unref ();
|
o.Unref ();
|
||||||
o._obj = IntPtr.Zero;
|
o._obj = IntPtr.Zero;
|
||||||
}
|
}
|
||||||
|
@ -89,6 +88,7 @@ namespace GLib {
|
||||||
return;
|
return;
|
||||||
|
|
||||||
disposed = true;
|
disposed = true;
|
||||||
|
Objects.Remove (_obj);
|
||||||
lock (PendingDestroys){
|
lock (PendingDestroys){
|
||||||
PendingDestroys.Enqueue (this);
|
PendingDestroys.Enqueue (this);
|
||||||
lock (typeof (Object)){
|
lock (typeof (Object)){
|
||||||
|
|
Loading…
Reference in a new issue