cocos2d/cocos2d-x — pull request #4415 by HoGarfield (2013-12-02 09:21:00+00:00)
Title: Cancel the onSubThreadEnded callback,because _ws may be deleted in the onClose callback.

Cancel the onSubThreadEnded callback,because _ws may be deleted in the onClose callback.