mirror of
https://github.com/zhigang1992/react-native-code-push.git
synced 2026-06-11 08:04:23 +08:00
Added requiresMainQueueSetup to prevent warning and future side-effects (#1035)
This commit is contained in:
@@ -302,6 +302,11 @@ static NSString *bundleResourceSubdirectory = nil;
|
||||
};
|
||||
};
|
||||
|
||||
+ (BOOL)requiresMainQueueSetup
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
||||
- (void)dealloc
|
||||
{
|
||||
// Ensure the global resume handler is cleared, so that
|
||||
@@ -627,7 +632,7 @@ RCT_EXPORT_METHOD(downloadUpdate:(NSDictionary*)updatePackage
|
||||
_didUpdateProgress = NO;
|
||||
self.paused = NO;
|
||||
}
|
||||
|
||||
|
||||
NSString * publicKey = [[CodePushConfig current] publicKey];
|
||||
|
||||
[CodePushPackage
|
||||
|
||||
Reference in New Issue
Block a user