iOS:fix iOS DoricLibrary init error
This commit is contained in:
parent
0961cb9fc9
commit
3198e6145d
@ -111,11 +111,11 @@ - (instancetype)init {
|
||||
_nodes = [NSMutableDictionary new];
|
||||
_envVariables = [NSMutableDictionary new];
|
||||
[self innerRegister];
|
||||
_monitors = [NSMutableSet new];
|
||||
[self registerMonitor:[DoricDefaultMonitor new]];
|
||||
[DoricLibraries.instance.libraries enumerateObjectsUsingBlock:^(DoricLibrary *obj, BOOL *stop) {
|
||||
[obj load:self];
|
||||
}];
|
||||
_monitors = [NSMutableSet new];
|
||||
[self registerMonitor:[DoricDefaultMonitor new]];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
Reference in New Issue
Block a user