Skip to content

Commit

Permalink
Use a threadsafe dict for data as well as cache
Browse files Browse the repository at this point in the history
  • Loading branch information
n8henrie committed Jun 2, 2024
1 parent 878ac4b commit a19deec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Quicksilver/Code-QuickStepCore/QSObject.m
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ + (void)interfaceChanged {
- (id)init {
if (self = [super init]) {

data = [NSMutableDictionary dictionaryWithCapacity:0];
data = [QSThreadSafeMutableDictionary dictionaryWithCapacity:0];
meta = [NSMutableDictionary dictionaryWithCapacity:0];
cache = [QSThreadSafeMutableDictionary dictionaryWithCapacity:0];
name = nil;
Expand Down

0 comments on commit a19deec

Please sign in to comment.