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