Re: Re: Does GTK leak memory
- From: Emmanuele Bassi <ebassi gmail com>
- To: gtk-list gnome org
- Subject: Re: Re: Does GTK leak memory
- Date: Wed, 02 Jun 2010 14:49:04 +0100
On Wed, 2010-06-02 at 15:39 +0200, Lothar Scholz wrote:
> By the way, is there any way to find out what the reference count of
> an object is?
you really don't want to know that - because threads and
auto-vivification during dispose cycles might change that value beneath
if you want to know whenever an object has been unreferenced for the
last time and it's not valid any more you should use weak references. if
you want to know whenever an object has been unreferenced for the last
time before being invalid, see the toggle reference API.
] [Thread Prev