mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
refactor: remove unnecessary NSNotificationCenter observer removals (#5118)
This commit is contained in:
@@ -69,11 +69,6 @@ static CGFloat const kStackViewVerticalSpacing = 8.0;
|
||||
[self checkWindowSize];
|
||||
}
|
||||
|
||||
- (void)dealloc
|
||||
{
|
||||
[NSNotificationCenter.defaultCenter removeObserver:self];
|
||||
}
|
||||
|
||||
- (CGFloat)fHorizLayoutHeight
|
||||
{
|
||||
return NSHeight(self.fTransferView.frame) + 2 * kStackViewInset;
|
||||
|
||||
Reference in New Issue
Block a user