Re: weakened userdata
- From: Kevin Ryde <user42 zip com au>
- To: gtk2-perl List <gtk-perl-list gnome org>
- Subject: Re: weakened userdata
- Date: Wed, 02 Jan 2008 10:18:28 +1100
muppet <scott asofyet org> writes:
It's a
little more subtle when dealing with closures, where it's easy to trap
a self-reference by accident.
Yep.
The way that GObjects destroy themselves mitigates the reference cycle
problems for the most part.
Err, umm, so the executive summary would be "best to call
$widget->destroy explicitly", as opposed to worrying too much whether
merely dropping the last reference to a widget will cleanup it and its
components.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]