From 804f62068b2c7c796211dcf8752ada7f66f2fabc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Berg?= Date: Wed, 24 Mar 2010 17:59:26 +0100 Subject: [PATCH] Remove finalizers with only observer unregistering code since GC guide says they are stored as __weak refs anyway. --- PBWebHistoryController.m | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/PBWebHistoryController.m b/PBWebHistoryController.m index 8186a6c..153f20f 100644 --- a/PBWebHistoryController.m +++ b/PBWebHistoryController.m @@ -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 {