From: Chris B. <chr...@gm...> - 2005-08-04 17:54:02
|
On 04/08/05, Matthias Baas <ba...@ir...> wrote: > > Similarly should geomobject __dealloc__ do 'del self.body'? >=20 > Doesn't Python do that itself? Hm, but on the other hand, it's declared > using "cdef", so you'r probably right and we should manually delete it > in __dealloc__... > Then it would be the same for self.space in the Geoms and for self.world > in the Body and the Joints. No need - I'm clearing _geom_c2py_lut and I no longer have Body objects leaking, it was just the lut->geom->body reference that kept them alive. |