Re: gperl_callback_invoke userdata copy

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.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]