fix(ios): fix tvOS build (#3524)
This commit is contained in:
parent
81ddb12fe2
commit
9306d9a15d
@ -199,8 +199,11 @@ class RCTVideo: UIView, RCTVideoPlayerViewControllerDelegate, RCTPlayerObserverH
|
|||||||
deinit {
|
deinit {
|
||||||
NotificationCenter.default.removeObserver(self)
|
NotificationCenter.default.removeObserver(self)
|
||||||
self.removePlayerLayer()
|
self.removePlayerLayer()
|
||||||
_pip = nil
|
|
||||||
_playerObserver.clearPlayer()
|
_playerObserver.clearPlayer()
|
||||||
|
|
||||||
|
#if os(iOS)
|
||||||
|
_pip = nil
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
// MARK: - App lifecycle handlers
|
// MARK: - App lifecycle handlers
|
||||||
|
Loading…
Reference in New Issue
Block a user