forked from Instagram/IGListKit
-
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.
Balance reload delete and insert calls
Summary: In Instagram@073fc07 we deduped delete calls, but since we convert reloads into delete+insert when only deduping deletes, we end up with unbalanced delete+insert calls. Unit test added reproduced a crash we see internally. Fix passes the test. Not adding a changelog entry since this is a new regression fixed between releases. #trivial Issue fixed: t17539856 - [x] All tests pass. Demo project builds and runs. - [x] I added tests, an experiment, or detailed why my change isn't tested. Closes Instagram#687 Differential Revision: D4933545 Pulled By: rnystrom fbshipit-source-id: d38a900a99b1aa796dd654ddedb42e3cb4ef4378
- Loading branch information
1 parent
5fe27d8
commit ee4f3c9
Showing
2 changed files
with
25 additions
and
2 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