iOS: fix multi context,share same zone storage
This commit is contained in:
@@ -34,6 +34,9 @@ - (instancetype)init {
|
||||
_enableRecordSnapshot = NO;
|
||||
_jsLoaderManager = [DoricJSLoaderManager new];
|
||||
_contextManager = [DoricContextManager new];
|
||||
_storageCaches = [[NSMapTable alloc] initWithKeyOptions:NSPointerFunctionsCopyIn
|
||||
valueOptions:NSPointerFunctionsWeakMemory
|
||||
capacity:0];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user