diff options
author | Max <post@wickenrode.com> | 2015-01-11 15:24:10 +0100 |
---|---|---|
committer | Max <post@wickenrode.com> | 2015-01-11 15:24:10 +0100 |
commit | f2bb1116a22dcbd680a61637532108d0c8497b99 (patch) | |
tree | a900b3c3e4bb0b1061270102c6e98ca5fb66c493 /Source | |
parent | 07ad0987959c3e43c82e8cffcbf66761327b8c41 (diff) | |
download | sequelpro-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.m | 1 |
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]; |