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 May 26, 2024
1 parent e931507 commit 7e151fc
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 7e151fc

Please sign in to comment.