Added requiresMainQueueSetup to prevent warning and future side-effects (#1035)
This commit is contained in:
Родитель
6872c127a1
Коммит
751bf02836
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче