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 May 16, 2023
1 parent e888643 commit 1136759
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 1136759

Please sign in to comment.