lua-users home
lua-l archive

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

On Fri, Oct 15, 2010 at 3:48 PM, Petri Häkkinen <> wrote:
> Basically there are a few manager objects which get collected before some other objects that have been created through the managers, and the physics library doesn't like that at all.

if the manager must be the destroyed after all it's surrogate objects,
then those object should hold a reference to its respective manager.
usually it's easiest with an environment table on the userdata