fix(ios): message sent to deallocated instance (#1482)
* fix(ios): message sent to deallocated instance * chore: update changelog
This commit is contained in:
parent
4424774ca3
commit
d8a2a9e108
@ -3,6 +3,7 @@
|
||||
### next
|
||||
|
||||
* Fix loading package resolved videos when using video-caching [#1438](https://github.com/react-native-community/react-native-video/pull/1438)
|
||||
* Fix "message sent to deallocated instance" crash on ios [#1482](https://github.com/react-native-community/react-native-video/pull/1482)
|
||||
|
||||
### Version 4.3.0
|
||||
* Fix iOS video not displaying after switching source [#1395](https://github.com/react-native-community/react-native-video/pull/1395)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user