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 {
|
- (void)destroyReactNativeBridge {
|
||||||
|
[_bridgeWrapper invalidate];
|
||||||
_bridgeWrapper = nil;
|
_bridgeWrapper = nil;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -34,4 +34,6 @@
|
||||||
|
|
||||||
@property (nonatomic, readonly, strong) RCTBridge *bridge;
|
@property (nonatomic, readonly, strong) RCTBridge *bridge;
|
||||||
|
|
||||||
|
- (void)invalidate;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -33,6 +33,10 @@
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
- (void)invalidate {
|
||||||
|
[_bridge invalidate];
|
||||||
|
}
|
||||||
|
|
||||||
#pragma mark helper methods for getting the packager URL
|
#pragma mark helper methods for getting the packager URL
|
||||||
|
|
||||||
#if DEBUG
|
#if DEBUG
|
||||||
|
|
Loading…
Reference in New Issue