Remove finalizers with only observer unregistering code since GC guide says they are stored as __weak refs anyway.

This commit is contained in:
André Berg
2010-03-24 17:59:26 +01:00
parent 95e050398b
commit 804f62068b
+5 -5
View File
@@ -149,11 +149,11 @@ contextMenuItemsForElement:(NSDictionary *)element
return [historyController valueForKeyPath:[@"repository.config." stringByAppendingString:config]];
}
- (void) finalize
{
[historyController removeObserver:self forKeyPath:@"webCommit"];
[super finalize];
}
// - (void) finalize
// {
// [historyController removeObserver:self forKeyPath:@"webCommit"];
// [super finalize];
// }
- (void) preferencesChanged
{