iOS:fix memory leak
This commit is contained in:
@@ -28,7 +28,7 @@ @implementation DoricSingleton
|
||||
- (instancetype)init {
|
||||
if (self = [super init]) {
|
||||
_libraries = [NSMutableSet new];
|
||||
_registries = [NSHashTable new];
|
||||
_registries = [NSHashTable weakObjectsHashTable];
|
||||
_envDic = [NSMutableDictionary new];
|
||||
_enablePerformance = NO;
|
||||
_enableRecordSnapshot = NO;
|
||||
|
||||
Reference in New Issue
Block a user