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 Apr 21, 2023
1 parent bb6d3bf commit 1697756
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 1697756

Please sign in to comment.