aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2015-01-11 15:24:10 +0100
committerMax <post@wickenrode.com>2015-01-11 15:24:10 +0100
commitf2bb1116a22dcbd680a61637532108d0c8497b99 (patch)
treea900b3c3e4bb0b1061270102c6e98ca5fb66c493 /Source
parent07ad0987959c3e43c82e8cffcbf66761327b8c41 (diff)
downloadsequelpro-f2bb1116a22dcbd680a61637532108d0c8497b99.tar.gz
sequelpro-f2bb1116a22dcbd680a61637532108d0c8497b99.tar.bz2
sequelpro-f2bb1116a22dcbd680a61637532108d0c8497b99.zip
Fix an issue where a KV Observer was not removed on dealloc resulting in KVO messaging a Zombie and crashing
Diffstat (limited to 'Source')
-rw-r--r--Source/SPDatabaseDocument.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/SPDatabaseDocument.m b/Source/SPDatabaseDocument.m
index 269e62d4..a14a6f03 100644
--- a/Source/SPDatabaseDocument.m
+++ b/Source/SPDatabaseDocument.m
@@ -6264,6 +6264,7 @@ static NSString *SPAlterDatabaseAction = @"SPAlterDatabase";
[prefs removeObserver:tableSourceInstance forKeyPath:SPUseMonospacedFonts];
[prefs removeObserver:[SPQueryController sharedQueryController] forKeyPath:SPUseMonospacedFonts];
[prefs removeObserver:tableContentInstance forKeyPath:SPGlobalResultTableFont];
+ [prefs removeObserver:tableContentInstance forKeyPath:SPDisplayBinaryDataAsHex];
[prefs removeObserver:[SPQueryController sharedQueryController] forKeyPath:SPConsoleEnableLogging];
[prefs removeObserver:self forKeyPath:SPConsoleEnableLogging];