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 Jun 18, 2022
1 parent 7373921 commit e3552c1
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 e3552c1

Please sign in to comment.