I also notice that m_odeBodies.clear() probably doesn't free the ODE bodies, and deleting m_odeGlobals doesn't delete the ODE World. That should probably be fixed too in the clear() function...
Log in to post a comment.