commit | 48c4757e2601f6cdbeb4e72ba16b45240443d097 | [log] [tgz] |
---|---|---|
author | pigweed-integration-roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com> | Tue Sep 07 23:15:56 2021 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Sep 08 00:04:47 2021 +0000 |
tree | f96537f7fc43da25c9f6997b56b4653c01f7a0e7 | |
parent | 0ab10df1aac6af7d03690dbb82becadb170d3b54 [diff] |
[roll third_party/pigweed] pw_rpc: Fix destructor ordering problem in test helpers During destruction, the FakeChannelOutput& in the InvocationContext base class would be used to send a final RPC message. The ChannelOutput instance it pointed to was in a derived class, so would be destructed before the RPC packet was sent, resulting in "pure virtual function call" crashes in tests. - Move the FakeChannelOutput instance to the base InvocationContext so it is destructed last, after any responses are sent. - Explicitly delete some copies/moves. - Fix typo in transfer_test.cc. - Handle some ignored Status returns. Original-Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/59761 https://pigweed.googlesource.com/pigweed/pigweed third_party/pigweed Rolled-Commits: 79ea2cf5dd7a766..2a70d8f6e5c4d87 Roller-URL: https://ci.chromium.org/b/8836707586379220609 Cq-Cl-Tag: roller-builder:pigweed-experimental-roller Cq-Cl-Tag: roller-bid:8836707586379220609 CQ-Do-Not-Cancel-Tryjobs: true Change-Id: I83aa5e4f03f25a21b0198206b12fa49ce6190c4d Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/experimental/+/60021 Bot-Commit: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com> Commit-Queue: Pigweed Integration Roller <pigweed-integration-roller@pigweed.google.com.iam.gserviceaccount.com>
This repository contains experimental pigweed modules.
Clone this repo with --recursive
to get all required submodules.
git clone --recursive https://pigweed.googlesource.com/pigweed/experimental
This will pull the Pigweed source repository into third_party/pigweed
. If you already cloned but forgot to --recursive
run git submodule update --init
to pull all submodules.