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 and pull[bot] committed Jan 12, 2024
1 parent 7e4d79f commit 3940722
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 3940722

Please sign in to comment.