mirror of
https://github.com/zoriya/react-native-video.git
synced 2026-05-27 16:42:41 +00:00
Merge pull request #65 from jhabdas/master
Remove Notification Center observers on dealloc
This commit is contained in:
@@ -69,6 +69,11 @@ static NSString *const statusKeyPath = @"status";
|
||||
return self;
|
||||
}
|
||||
|
||||
- (void)dealloc
|
||||
{
|
||||
[[NSNotificationCenter defaultCenter] removeObserver:self];
|
||||
}
|
||||
|
||||
#pragma mark - App lifecycle handlers
|
||||
|
||||
- (void)applicationWillResignActive:(NSNotification *)notification
|
||||
|
||||
Reference in New Issue
Block a user