heliclei/cocos2d-x — pull request #360 by cocosQA (2014-04-28 10:42:33+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.