forked from TextureGroup/Texture
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ASDataController] Fix a crash in table view caused by executing an e…
…mpty change set during layoutSubviews (TextureGroup#416) * Fix a crash in table view caused by executing an empty change set during layoutSubviews - Previously, when a change set is empty, `ASDataController` forwards the change set to its delegate right away, without dispatching to its editing queue and then back to main. - This behaviour can potentially cause bad internal states in UITableView which trigger a crash reported in TextureGroup#83. - Fix by still reusing the existing pending map, because the data source's state has not changed, but go through the editing queue and main queue tunnel. * Update CHANGELOG
- Loading branch information
1 parent
0b58dc4
commit b516a90
Showing
2 changed files
with
20 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters