mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-24 00:55:29 +00:00
2002-09-11 Miguel de Icaza <miguel@ximian.com>
* glib/Object.cs (DisposeNative): Call GC.SuppressFinalize, and set the obj to null. svn path=/trunk/gtk-sharp/; revision=7411
This commit is contained in:
parent
32ae593a0e
commit
c9434076c5
|
@ -1,3 +1,8 @@
|
|||
2002-09-11 Miguel de Icaza <miguel@ximian.com>
|
||||
|
||||
* glib/Object.cs (DisposeNative): Call GC.SuppressFinalize, and
|
||||
set the obj to null.
|
||||
|
||||
2002-09-11 Rachel Hestilow <hestilow@ximian.com>
|
||||
|
||||
* glib/Object.cs (Ref): Added.
|
||||
|
|
|
@ -61,7 +61,9 @@ namespace GLib {
|
|||
if (_obj == IntPtr.Zero)
|
||||
return;
|
||||
|
||||
GC.SuppressFinalize (this);
|
||||
g_object_unref (_obj);
|
||||
_obj = IntPtr.Zero;
|
||||
}
|
||||
|
||||
[DllImport("gobject-2.0")]
|
||||
|
|
Loading…
Reference in a new issue