mirror of
https://github.com/textmate/textmate.git
synced 2026-04-28 03:00:34 -04:00
No need to have dealloc clear properties with weak storage
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user