You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that BCC causes a crash if I click to fast. I could reproduce it in your example app but I can't give you the exact steps. Just click around like a monkey.
I noticed that BCC causes a crash if I click to fast. I could reproduce it in your example app but I can't give you the exact steps. Just click around like a monkey.
2018-07-15 15:52:44.383602+0200 MyApp[89546:15766660] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'attempt to delete item 4 from section 0 which only contains 3 items before the update'
*** First throw call stack:
(
0 CoreFoundation 0x00000001044d61e6 __exceptionPreprocess + 294
1 libobjc.A.dylib 0x0000000103b6b031 objc_exception_throw + 48
2 CoreFoundation 0x00000001044db472 +[NSException raise:format:arguments:] + 98
3 Foundation 0x000000010360e652 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 193
4 UIKit 0x0000000105d6bad4 -[UICollectionView _endItemAnimationsWithInvalidationContext:tentativelyForReordering:animator:] + 4637
5 UIKit 0x0000000105d7700e -[UICollectionView _endUpdatesWithInvalidationContext:tentativelyForReordering:animator:] + 71
6 UIKit 0x0000000105d77357 -[UICollectionView _performBatchUpdates:completion:invalidationContext:tentativelyForReordering:animator:] + 439
7 UIKit 0x0000000105d7717d -[UICollectionView _performBatchUpdates:completion:invalidationContext:tentativelyForReordering:] + 91
8 UIKit 0x0000000105d770ff -[UICollectionView _performBatchUpdates:completion:invalidationContext:] + 74
9 UIKit 0x0000000105d77054 -[UICollectionView performBatchUpdates:completion:] + 53
10 MyApp 0x0000000101013be2 _T010MyApp31BreadcrumbsNavigationControllerC6update33_93B9F249E3BD0367AFA0C314644DA50ELLyAC5EventAELLO5event_tF + 546
11 MyApp 0x0000000101014715 T010MyApp31BreadcrumbsNavigationControllerC6update33_93B9F249E3BD0367AFA0C314644DA50ELLyAC5EventAELLO5event_tFySbcfU0 + 357
12 MyApp 0x0000000101017b93 _T010MyApp31BreadcrumbsNavigationControllerC6update33_93B9F249E3BD0367AFA0C314644DA50ELLyAC5EventAELLO5event_tFySbcfU0_TA + 19
13 MyApp 0x0000000101014a49 _T0SbIegy_SbIeyBy_TR + 57
14 UIKit 0x0000000105d76e4d -[UICollectionView _updateAnimationDidStop:finished:context:] + 2174
15 UIKit 0x0000000105d76334 __71-[UICollectionView _updateWithItems:tentativelyForReordering:animator:]_block_invoke_2 + 82
16 UIKit 0x00000001057512b3 __47-[UICollectionViewAnimation startWithAnimator:]_block_invoke.222 + 279
17 UIKit 0x00000001053510ad -[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:] + 859
18 UIKit 0x0000000105323ea9 -[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 343
19 UIKit 0x00000001053244ec -[UIViewAnimationState animationDidStop:finished:] + 293
20 QuartzCore 0x0000000102df25e5 _ZN2CA5Layer23run_animation_callbacksEPv + 323
21 libdispatch.dylib 0x0000000108fe87ec _dispatch_client_callout + 8
22 libdispatch.dylib 0x0000000108ff38cf _dispatch_main_queue_callback_4CF + 628
23 CoreFoundation 0x0000000104498c99 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9
24 CoreFoundation 0x000000010445cea6 __CFRunLoopRun + 2342
25 CoreFoundation 0x000000010445c30b CFRunLoopRunSpecific + 635
26 GraphicsServices 0x000000010c4d8a73 GSEventRunModal + 62
27 UIKit 0x000000010528f057 UIApplicationMain + 159
28 MyApp 0x0000000101001097 main + 55
29 libdyld.dylib 0x0000000109065955 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Problem is in this line
if let event = self.events.popLast() {
self.update(event: event)
}
The text was updated successfully, but these errors were encountered: