fix bug: physics crashes when remove/add children too quick.
Merge pull request #8209 from boyu0/fix_physics_crash

fix bug: physics crashes when remove/add children too quick.