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 logic cleaning data if delegate / dataSource changes and bring over logic to ASTableView #1200

Merged
merged 3 commits into from
Nov 1, 2018

Conversation

maicki
Copy link
Contributor

@maicki maicki commented Oct 29, 2018

The current approach we use to check if we should clear data if the dataSource / delegate changes via the ASExperimentalClearDataDuringDeallocation flag has some issue. The problem is that we are checking _isDeallocating and bail out if not true although we should only do that if the ASExperimentalClearDataDuringDeallocation flag is true.

We have the same change within ASCollectionView. We know from previous investigations (see #1155) that this currently can cause crashes. For consistency let's get this code over to ASTableView though with the experiments setup we have within ASCollectionView.

@maicki maicki merged commit fec14f8 into master Nov 1, 2018
@maicki maicki deleted the ASTableViewCleanup branch November 1, 2018 20:58
mikezucc pushed a commit to mikezucc/Texture that referenced this pull request Nov 7, 2018
…er logic to ASTableView (TextureGroup#1200)

* Cleanup in ASTableView datasource/delegate change

* Fix experiments logic

* Add changelog entry
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

2 participants