Remove observer when getting dealloc.

This commit is contained in:
Kyle Fang
2013-02-26 14:27:45 +08:00
parent a90d22886e
commit 2b8c9de0ec

View File

@@ -175,6 +175,10 @@ static char UITableViewZGDragView;
}
}
- (void)dealloc{
if (self.isObserving) {
self.isObserving = NO;
}
}
@end