fix(ios): message sent to deallocated instance (#1482)

* fix(ios): message sent to deallocated instance

* chore: update changelog
This commit is contained in:
Laurin Quast
2019-02-14 16:34:14 +01:00
committed by GitHub
parent 4424774ca3
commit d8a2a9e108
2 changed files with 2 additions and 0 deletions

View File

@@ -197,6 +197,7 @@ static int const RCTVideoUnset = -1;
[self removePlayerLayer];
[self removePlayerItemObservers];
[_player removeObserver:self forKeyPath:playbackRate context:nil];
[_player removeObserver:self forKeyPath:externalPlaybackActive context: nil];
}
#pragma mark - App lifecycle handlers