mirror of
https://github.com/zhigang1992/ZGPullDragTableView.git
synced 2026-01-12 08:34:12 +08:00
Remove observer when getting dealloc.
This commit is contained in:
@@ -175,6 +175,10 @@ static char UITableViewZGDragView;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
- (void)dealloc{
|
||||
if (self.isObserving) {
|
||||
self.isObserving = NO;
|
||||
}
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user