cocos2d/cocos2d-x — pull request #6447 by cocosQA (2014-04-28 08:18:07+00:00)
Title: [ci skip]fix: debug draw remains after remove the last PhysicsBody.

Split drawing process into two parts, and always perform `detachFromScene()` will solve the problem.