Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix Crash detail: #163

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dishcool
Copy link
Contributor

@dishcool dishcool commented Aug 2, 2022

Fix: when CollectionView goto Reuse pool,need to set its provider = nil,otherwise there may be two collectionView have the same provider,and maybe will crash later.
Fix:当CollectionView进入复用池,需要重置provider,避免出现 多个collectionView 持有同个provider对象,导致数据更新不同步,进而未同步的collectionView中flattenProvider的childSections范围错误导致越界崩溃

Junjian Lin and others added 2 commits March 4, 2019 11:28
Fix: when CollectionView goto Reuse pool,need to set its provider = nil,otherwise there may be two collectionView have the same provider,and maybe will crash later.
Fix:当CollectionView进入复用池,需要重置provider,避免出现 多个collectionView 持有同个provider对象,导致数据更新不同步,进而未同步的collectionView中flattenProvider的childSections范围错误导致越界崩溃
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant