heliclei/cocos2d-x — pull request #49 by heliclei (2014-04-25 10:36:35+00:00)
Title: fix: debug draw remains after remove the last PhysicsBody.

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