commit | b5fa5d3382368516cf8a11204371c0cde4eb8bd4 | [log] [tgz] |
---|---|---|
author | Carlos Chinchilla <cachinchilla@google.com> | Fri Dec 10 11:05:43 2021 -0800 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Dec 13 20:09:54 2021 +0000 |
tree | 7cc6ab84476c478ec2e5b2d73a1526d4565d1fbf | |
parent | 38fee79685436e1b2e0d69919150e639b57d1dd7 [diff] |
pw_log_rpc: Release payload buffer when active The RpcLogDrain::server_writer_ can be closed asynchronously, by the client. Only release the payload buffer if the writer is still active, in order to leave the writer in a replaceable state. Change-Id: I1158463638bfe45c4f969e5f7f796a0c21a2a1d4 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/73500 Reviewed-by: Keir Mierle <keir@google.com> Commit-Queue: Carlos Chinchilla <cachinchilla@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/