mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 00:24:43 +02:00
Don't remove pushInfoUpdateObserver in dealloc because it is removed in destroy.
Signed-off-by: Nicolas Buquet <nbuquet@buquet-net.com>
This commit is contained in:
@@ -341,13 +341,6 @@ SSOAuthenticationPresenterDelegate>
|
||||
}
|
||||
|
||||
- (void)dealloc {
|
||||
// Remove observers
|
||||
if (pushInfoUpdateObserver)
|
||||
{
|
||||
[[NSNotificationCenter defaultCenter] removeObserver:pushInfoUpdateObserver name:kMXKAccountAPNSActivityDidChangeNotification object:nil];
|
||||
pushInfoUpdateObserver = nil;
|
||||
}
|
||||
|
||||
// Fix for destroy not being called
|
||||
[self destroy];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user