-[LXReorderableCollectionViewFlowLayout handleApplicationWillResignActive:] crash
Closed this issue · 5 comments
shmidt commented
Crashlytics report:
Exception Type: EXC_BAD_ACCESS Code: KERN_INVALID_ADDRESS at 0x1965
LXReorderableCollectionViewFlowLayout.m line 489
-[LXReorderableCollectionViewFlowLayout handleApplicationWillResignActive:]
- (void)handleApplicationWillResignActive:(NSNotification *)notification {
self.panGestureRecognizer.enabled = NO; // Line 489
self.panGestureRecognizer.enabled = YES;
}
tonyarnold commented
I'm seeing this too. Every time the user tries to switch away from the app after using this class.
lxcid commented
I'm open to PR for this issue though. Any taker?
tonyarnold commented
Yep, working one up now. The UIApplicationWillResignNotification isn't being removed on dealloc.
lxcid commented
Awesome man! Thanks for the fix! :D
lxcid commented
Closing since its seems to be fixed. :)