On Fri, Nov 14, 2008 at 2:16 AM, Evan DeMond <[EMAIL PROTECTED]> wrote: > Hi all, > > I've got a wxLua application that freezes when Lua performs garbage > collection. I suspect that some important piece of the application is > getting garbage collected - so I need to devise a way to tell what's getting > garbage collected and when. The __gc metamethod was my first idea, but that > has to be set from the C API, and can't be set from within Lua, so that > seems out. > > Any other recourse I can take to figure out what's going on here? >
Just wanted to tell about my own experience, which I told on this mailing list in June. wxTimers can be garbage collected even if they are in use. So if you use timers you might want to check for that possibility. Eero ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users