Skip to content

Commit

Permalink
Update examples/fabric-admin/rpc/RpcClient.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Terence Hampson <[email protected]>
  • Loading branch information
yufengwangca and tehampson committed Jul 15, 2024
1 parent ee7e12c commit 692c1dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/fabric-admin/rpc/RpcClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ std::condition_variable responseCv;
bool responseReceived = false;
CHIP_ERROR responseError = CHIP_NO_ERROR;

// By passing the call object to WaitForResponse to keep RPC call alive until it completes or timeout.
// By passing the `call` parameter into WaitForResponse we are explicitly trying to insure the caller takes into consideration that the lifetime of the `call` object when calling WaitForResponse
template <typename CallType>
CHIP_ERROR WaitForResponse(CallType & call)
{
Expand Down

0 comments on commit 692c1dc

Please sign in to comment.