Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove this work around due to crashes when storage is accessed from multiple th... #7410

Closed
todo bot opened this issue Jun 4, 2021 · 0 comments · Fixed by #7434
Closed

Remove this work around due to crashes when storage is accessed from multiple th... #7410

todo bot opened this issue Jun 4, 2021 · 0 comments · Fixed by #7434
Assignees
Labels

Comments

@todo
Copy link

todo bot commented Jun 4, 2021

// TODO: Remove this work around due to crashes when storage is accessed from multiple threads and passed around
static PersistentStorage gStorage;
int Commands::Run(NodeId localId, NodeId remoteId, int argc, char ** argv)
{
CHIP_ERROR err = CHIP_NO_ERROR;
err = chip::Platform::MemoryInit();
VerifyOrExit(err == CHIP_NO_ERROR, ChipLogError(Controller, "Init Memory failure: %s", chip::ErrorStr(err)));


This issue was generated by todo based on a TODO comment in 8402293. It's been assigned to @woody-apple because they committed the code.
@todo todo bot added the todo label Jun 4, 2021
bzbarsky-apple added a commit to bzbarsky-apple/connectedhomeip that referenced this issue Jun 7, 2021
bzbarsky-apple added a commit to bzbarsky-apple/connectedhomeip that referenced this issue Jun 8, 2021
bzbarsky-apple added a commit that referenced this issue Jun 9, 2021
…7434)

This change depends on
#7428 and
#7430 which fix
the problems properly.

Fixes #7408
Fixes #7409
Fixes #7410
nikita-s-wrk pushed a commit to nikita-s-wrk/connectedhomeip that referenced this issue Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant