No need to have dealloc clear properties with weak storage

This commit is contained in:
Allan Odgaard
2016-09-11 08:36:52 +02:00
parent 76183d63dd
commit 91190cdf9f

View File

@@ -318,9 +318,6 @@ private:
- (void)dealloc
{
gutterView.delegate = nil;
_statusBar.delegate = nil;
for(NSString* keyPath in self.observedKeys)
[_textView removeObserver:self forKeyPath:keyPath];
[[NSNotificationCenter defaultCenter] removeObserver:self];