Huy Nguyen
e70325563a
Only clear ASCollectionView's data during deallocation ( #1154 )
...
This is a follow up on #1136 . Our experiment results show that clearing data frequently is the cause of our #1 crash. @maicki and I believe that this is because if the collection view is being used, silently clearing its data without notifying the backing UICollectionView can put it out-of-sync and causes mayhem next time the collection view processes a batch update. If you look at the stack trace closely, you'll notice that the crash doesn't occur on the same run loop that clearData is called. This made it extremely tricky to investigate and identify the root cause.
Another interesting question would be whether or not we want to clear the data during deallocation at all, since the data will be cleared out soon anyway.
2018-10-03 16:14:01 -07:00
..
2018-09-17 12:40:18 -07:00
2018-08-28 07:39:18 -07:00
2018-09-20 07:54:10 -07:00
2018-09-18 11:58:24 -07:00
2018-09-20 07:54:10 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-09-19 07:51:46 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-09-05 22:49:08 -07:00
2018-08-28 07:39:18 -07:00
2018-10-03 16:14:01 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-09-06 11:08:45 -07:00
2018-09-06 11:08:45 -07:00
2018-09-06 11:08:45 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-30 22:04:40 -07:00
2018-08-28 07:39:18 -07:00
2018-09-17 14:29:22 -07:00
2018-10-03 14:49:15 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-09-12 09:48:39 -07:00
2018-10-03 14:49:15 -07:00
2018-08-28 07:39:18 -07:00
2018-09-19 11:23:19 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-09-17 13:35:00 -07:00
2018-08-28 07:39:18 -07:00
2018-10-03 16:14:01 -07:00
2018-10-03 16:14:01 -07:00
2018-09-12 09:39:22 -07:00
2018-09-14 08:48:19 -07:00
2018-09-12 09:39:22 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-09-14 08:48:19 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-09-12 09:48:39 -07:00
2018-09-12 09:48:39 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-10-01 11:20:12 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-09-19 07:51:46 -07:00
2018-09-19 07:51:46 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-09-13 11:06:12 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-09-20 07:54:10 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2017-04-04 14:37:45 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2017-02-26 18:14:13 -08:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00
2018-08-28 07:39:18 -07:00