Skip to content

Commit

Permalink
[darwin-framework-tool] The stack is not properly turned off on timeo…
Browse files Browse the repository at this point in the history
…ut (#24111)
  • Loading branch information
vivien-apple authored and pull[bot] committed Feb 16, 2024
1 parent 1a7bf32 commit 4928241
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
ReturnErrorOnFailure(MaybeSetUpStack());
SetIdentity(mCommissionerName.HasValue() ? mCommissionerName.Value() : kIdentityAlpha);
ReturnLogErrorOnFailure(RunCommand());
ReturnLogErrorOnFailure(StartWaiting(GetWaitDuration()));

auto err = StartWaiting(GetWaitDuration());

bool deferCleanup = (IsInteractive() && DeferInteractiveCleanup());

Expand All @@ -54,7 +55,7 @@
}
MaybeTearDownStack();

return CHIP_NO_ERROR;
return err;
}

CHIP_ERROR CHIPCommandBridge::GetPAACertsFromFolder(NSArray<NSData *> * __autoreleasing * paaCertsResult)
Expand Down

0 comments on commit 4928241

Please sign in to comment.