fix(ios) Fixes RCTBridge not being released when JitsiMeet is trying to destroy its bridge on some OS versions
This commit is contained in:
parent
accdfe4625
commit
9506f3ac3d
|
@ -127,6 +127,7 @@
|
|||
}
|
||||
|
||||
- (void)destroyReactNativeBridge {
|
||||
[_bridgeWrapper invalidate];
|
||||
_bridgeWrapper = nil;
|
||||
}
|
||||
|
||||
|
|
|
@ -34,4 +34,6 @@
|
|||
|
||||
@property (nonatomic, readonly, strong) RCTBridge *bridge;
|
||||
|
||||
- (void)invalidate;
|
||||
|
||||
@end
|
||||
|
|
|
@ -33,6 +33,10 @@
|
|||
return self;
|
||||
}
|
||||
|
||||
- (void)invalidate {
|
||||
[_bridge invalidate];
|
||||
}
|
||||
|
||||
#pragma mark helper methods for getting the packager URL
|
||||
|
||||
#if DEBUG
|
||||
|
|
Loading…
Reference in New Issue