deleting _dynamicsWorld doesn't crash on shutdown

This commit is contained in:
Andrew Meadows 2015-03-30 17:12:19 -07:00
parent f116ac131d
commit 94c1cf12f5

View file

@ -36,8 +36,8 @@ PhysicsEngine::~PhysicsEngine() {
delete _collisionDispatcher;
delete _broadphaseFilter;
delete _constraintSolver;
// delete _dynamicsWorld;
// delete _ghostPairCallback;
delete _dynamicsWorld;
delete _ghostPairCallback;
}
// begin EntitySimulation overrides