Re: gperl_callback_invoke userdata copy
- From: Kevin Ryde <user42 zip com au>
- To: gtk-perl-list gnome org
- Subject: Re: gperl_callback_invoke userdata copy
- Date: Fri, 09 May 2008 08:19:14 +1000
muppet <scott asofyet org> writes:
I tried setting up a similar case with GLog handlers to create a unit
So did I ...
but GLog appear to keep the handlers alive across invocation to
avoid this issue.
Actually, there's comments in GLog.xs about leaking handlers, or handler
data, which I think may be true, ie. the data is never dereffed.
So, without writing C code for a test, i don't know
a way to unit test this.
Doesn't look like it with Glib alone.
] [Thread Prev