We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.
Crash appears when extending cc.ScrollView in JS
Crash appears when extending cc.ScrollView in JS
Bug #2612 [Closed]
The optimization introduces a bug where the priority and Touch Mode will not get changed if the list is locked.
The most straight forward fix is to merge the pHandlersToAdd and pHandlersToRemove into a queue and process through all of them in the order they are received
Pokerstar88.com Agen Texas Poker dan Domino Online Indonesia Terpercaya | Agen Bola | Taruhan Bola | Agen Bola | Olb365.com Agen Judi Bola Online, Agen Judi Casino Online Indonesia Terpercaya | Jasa SEO | Agen Sbobet
Status: | Closed | |
---|---|---|
Start date: | 2013-08-20 | |
Priority: | Normal | |
Due date: | ||
Assignee: | dumganhar | |
% Done: | 0% |
|
Category: | all | |
Target version: | 3.0-alpha0 |
Fixed at https://github.com/cocos2d/cocos2d-x/pull/3442.
It’s because when extending cc.ScrollView in JS, cc.ScrollView.extend will create an object as prototype.
We need to check whether the _touches is NULL in the destructor of ScrollView.