iOS:init registry synchronously
This commit is contained in:
parent
a415365159
commit
682b6ebcb4
@ -87,9 +87,9 @@ - (instancetype)init {
|
||||
@"deviceBrand": @"Apple",
|
||||
@"deviceModel": platform,
|
||||
};
|
||||
self.registry = [[DoricRegistry alloc] init];
|
||||
[self ensureRunOnJSThread:^() {
|
||||
self.timers = [[NSMutableDictionary alloc] init];
|
||||
self.registry = [[DoricRegistry alloc] init];
|
||||
self.bridgeExtension = [DoricBridgeExtension new];
|
||||
self.bridgeExtension.registry = self.registry;
|
||||
[self initJSEngine];
|
||||
|
Reference in New Issue
Block a user