{"action":"opened","issue":{"url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/15898","repository_url":"https://api.github.com/repos/cocos2d/cocos2d-x","labels_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/15898/labels{/name}","comments_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/15898/comments","events_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/15898/events","html_url":"https://github.com/cocos2d/cocos2d-x/issues/15898","id":161405480,"number":15898,"title":"cocos2d-js 3.9 render的时候发生crash","user":{"login":"iNeverSleeeeep","id":8469299,"avatar_url":"https://avatars.githubusercontent.com/u/8469299?v=3","gravatar_id":"","url":"https://api.github.com/users/iNeverSleeeeep","html_url":"https://github.com/iNeverSleeeeep","followers_url":"https://api.github.com/users/iNeverSleeeeep/followers","following_url":"https://api.github.com/users/iNeverSleeeeep/following{/other_user}","gists_url":"https://api.github.com/users/iNeverSleeeeep/gists{/gist_id}","starred_url":"https://api.github.com/users/iNeverSleeeeep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iNeverSleeeeep/subscriptions","organizations_url":"https://api.github.com/users/iNeverSleeeeep/orgs","repos_url":"https://api.github.com/users/iNeverSleeeeep/repos","events_url":"https://api.github.com/users/iNeverSleeeeep/events{/privacy}","received_events_url":"https://api.github.com/users/iNeverSleeeeep/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-21T10:50:18Z","updated_at":"2016-06-21T10:50:18Z","closed_at":null,"body":"发生crash的直接原因是我使用的一个renderTexture在delete后依然会被绘制。\r\n下面写一下我猜测的原因：\r\n我的项目使用websocket做网络连接，在收到某一个消息后我会调用renderTexture.removeFromParent();\r\n有没有这种可能，在某一帧的update里面我调用了renderTexture.beginWithClear()，在这之后收到了上述消息的回调，将renderTexture delete，但是那个CustomCommand依然还在renderQ里面，所以导致了crash。\r\n以上是我的猜测，若不可能发生，我再查查还有没有其他的可能。"}}
{"actor":{"display_login":"iNeverSleeeeep"}}