diff --git a/RCTVideo.m b/RCTVideo.m index e7e288a5..5b6b425f 100644 --- a/RCTVideo.m +++ b/RCTVideo.m @@ -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