Skip to content

Commit

Permalink
[shell] Fix darwin deadlock with 'server start' command. (#12231)
Browse files Browse the repository at this point in the history
  • Loading branch information
turon authored Nov 29, 2021
1 parent 6f535e4 commit 4bac98f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/Darwin/KeyValueStoreManagerImpl.mm
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ - (instancetype)initWithContext:(nonnull NSManagedObjectContext *)context
}

// create Managed Object context
gContext = [[NSManagedObjectContext alloc] initWithConcurrencyType:NSMainQueueConcurrencyType];
gContext = [[NSManagedObjectContext alloc] initWithConcurrencyType:NSPrivateQueueConcurrencyType];
[gContext setPersistentStoreCoordinator:coordinator];

return CHIP_NO_ERROR;
Expand Down

0 comments on commit 4bac98f

Please sign in to comment.