Skip to content

Commit

Permalink
[shell] Fix darwin deadlock with 'server start' command.
Browse files Browse the repository at this point in the history
  • Loading branch information
turon committed Nov 24, 2021
1 parent 972406e commit 98cf1ff
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 98cf1ff

Please sign in to comment.