Skip to content

Commit

Permalink
Try using the thread-safe dictionary
Browse files Browse the repository at this point in the history
  • Loading branch information
n8henrie committed Nov 24, 2023
1 parent 5a5bce4 commit 2ac440c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Quicksilver/Code-QuickStepCore/QSLibrarian.m
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ - (NSArray *)scoredArrayForType:(NSString *)string
}

- (NSDictionary *)typeArraysFromArray:(NSArray *)array {
NSMutableDictionary *dict = [NSMutableDictionary dictionaryWithCapacity:1];
QSThreadSafeMutableDictionary *dict = [[QSThreadSafeMutableDictionary alloc] initWithCapacity:1];
NSMutableArray *typeEntry;
for(QSObject *object in array) {
NSDictionary *data = [[object dataDictionary] copy];
Expand Down

0 comments on commit 2ac440c

Please sign in to comment.