Permalink
Browse files

Remove oberserver from jobs tool to avoid a crash

  • Loading branch information...
1 parent 72404b8 commit 0e3edbf65abd73c74fcf34959a57e0a16f6e8c87 @gnachman gnachman committed Sep 7, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 ToolJobs.m
View
@@ -151,6 +151,7 @@ - (void)setFastTimer
- (void)dealloc
{
+ [[NSNotificationCenter defaultCenter] removeObserver:self];
[signal_ release];
[tableView_ release];
[scrollView_ release];
@@ -233,4 +234,4 @@ - (void)kill:(id)sender
kill(p, [[signal_ selectedItem] tag]);
}
-@end
+@end

0 comments on commit 0e3edbf

Please sign in to comment.