Skip to content

Fix a sorting error when the node have been removed.#4710

Merged
jareguo merged 2 commits intococos:v2.1.2from
caryliu1999:v2.1.2-fix-event-sort
Jul 1, 2019
Merged

Fix a sorting error when the node have been removed.#4710
jareguo merged 2 commits intococos:v2.1.2from
caryliu1999:v2.1.2-fix-event-sort

Conversation

@caryliu1999
Copy link
Copy Markdown
Contributor

Re: cocos-creator/2d-tasks#

Changes:
避免子节点跟随父节点一起移除时,自定义事件没有取消,然后排序出现错误的问题。

Comment thread cocos2d/core/event-manager/CCEventManager.js Outdated
@jareguo
Copy link
Copy Markdown
Contributor

jareguo commented Jul 1, 2019

要发版本,先合并了,大大有空再 review 下

@jareguo jareguo merged commit 6b9b796 into cocos:v2.1.2 Jul 1, 2019
knoxHuang pushed a commit to knoxHuang/engine-2 that referenced this pull request Jul 8, 2019
* Fix a sorting error when the node have been removed.

* avoid geter

(cherry picked from commit 6b9b796)
jareguo pushed a commit that referenced this pull request Jul 8, 2019
* Fix a sorting error when the node have been removed.

* avoid geter

(cherry picked from commit 6b9b796)
jareguo pushed a commit that referenced this pull request Jul 8, 2019
* Fix a sorting error when the node have been removed.

* avoid geter

(cherry picked from commit 6b9b796)
@caryliu1999 caryliu1999 deleted the v2.1.2-fix-event-sort branch June 22, 2021 03:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants