From 3a71f744bd13017cd74414481f78c5d10142cbde Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Mon, 8 Jul 2013 18:44:54 +0000 Subject: We don't have any notification observer on the Configuration Controller class anymore. Remove the remove observer call in dealloc. Comment out dealloc in the Configuration Controller class on ARC. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85908 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/ConfigurationController.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'macosx/ConfigurationController.m') diff --git a/macosx/ConfigurationController.m b/macosx/ConfigurationController.m index e94ee790..186772f7 100755 --- a/macosx/ConfigurationController.m +++ b/macosx/ConfigurationController.m @@ -220,13 +220,14 @@ NSString *const memCardChangeNumberKey = @"PcsxrMemoryCardThatChangedKey"; [hkController initialize]; } +#if !__has_feature(objc_arc) - (void)dealloc { - [[NSNotificationCenter defaultCenter] removeObserver:self]; RELEASEOBJ(checkBoxDefaults); SUPERDEALLOC; } +#endif - (NSString *)keyForSender:(id)sender { -- cgit v1.2.3