fix(ios): Implicit use of 'self' in closure - use 'self.' to make capture semantics explicit (#3764) (#3881)
* Fix/ensure view drop stop playback startup (#3875) * fix: ensure player doesn't start when view is unmounted * Patch commit to fix the error: Implicit use of 'self' in closure; use 'self.' to make capture semantics explicit --------- Co-authored-by: Olivier Bouillet <62574056+freeboub@users.noreply.github.com>
This commit is contained in:
@@ -21,7 +21,7 @@ class RCTVideoManager: RCTViewManager {
|
||||
let view = self.bridge.uiManager.view(forReactTag: reactTag)
|
||||
|
||||
guard let videoView = view as? RCTVideo else {
|
||||
DebugLog("Invalid view returned from registry, expecting RCTVideo, got: \(String(describing: view))")
|
||||
DebugLog("Invalid view returned from registry, expecting RCTVideo, got: \(String(describing: self.view))")
|
||||
callback(nil)
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user