[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Cocoa (ObjC) in Lua modules
- From: "Wesley Smith" <wesley.hoke@...>
- Date: Sun, 13 Jan 2008 20:11:08 -0800
Hi List,
I've been doing some work on a Lua module that contains Cocoa classes
and have run into some nasty crashes on closing the Lua state where
the objc image unloader craps out and spits some double free business
out and/or crashes the app. I know people have done objc/cocoa lua
modules in the past and I've looked at the luaobjcbridge project from
whom I borrowed a few utility functions. I've been reading up on
loading/unloading cocoa code dynamically and apparently unloading has
not been supported (and may still not be supported in Leopard). I'm
currently on Tiger. Does anyone have any experience making cocoa
modules and potentially encountered this problem?
thanks,
wes