Skip to content

Commit 5da3cb5

Browse files
committed
fix weakself
1 parent 97f5d23 commit 5da3cb5

File tree

1 file changed

+1
-1
lines changed
  • VideoPlsInterfaceControllerSDK/VideoPlsInterfaceControllerSDK/VideoPlsInterfaceControllerSDK

1 file changed

+1
-1
lines changed

VideoPlsInterfaceControllerSDK/VideoPlsInterfaceControllerSDK/VideoPlsInterfaceControllerSDK/VPInterfaceController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ - (void)registerLuaViewRoutes {
570570
__weak typeof(self) weakSelf = self;
571571
[[VPUPRoutes routesForScheme:VPUPRoutesSDKLuaView] addRoute:@"/defaultLuaView" handler:^BOOL(NSDictionary<NSString *,id> * _Nonnull parameters) {
572572

573-
if (weakSelf) {
573+
if (!weakSelf) {
574574
return NO;
575575
}
576576
__strong typeof(self) strongSelf = weakSelf;

0 commit comments

Comments
 (0)