Skip to content
Browse files

Fix a bug where PullToRefreshView wasn't removing itself as an observ…

…er from the scroll view, causing a crash.
  • Loading branch information...
1 parent 78778a6 commit ce6b6bf6bcff05c7673f5bb8787eab94e0823889 @patr1ck patr1ck committed Jul 15, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 PullToRefreshView.m
View
2 PullToRefreshView.m
@@ -204,6 +204,8 @@ - (void)finishedLoading {
#pragma mark Dealloc
- (void)dealloc {
+ [scrollView removeObserver:self forKeyPath:@"contentOffset"];
+
[arrowImage release];
[activityView release];
[statusLabel release];

0 comments on commit ce6b6bf

Please sign in to comment.
Something went wrong with that request. Please try again.