cocos2d/cocos2d-x — pull request #6424 by cocosQA (2014-04-28 08:17:38+00:00)
Title: [ci skip]physic object is still drawn on screen after destroyed

test case:
1.add object using PhysicsBody::createEdgeSegment(p1, p2)
2.remove the object
3.the object is still drawn on screen because _bodies is empty so the DrawNode's clear() method won't be called