diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2025-04-24 12:05:06 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2025-04-24 14:15:38 +0000 |
| commit | e3715315e5d4f79101d4cd782877608675dff0df (patch) | |
| tree | e1d1228430f9baa3cdc5283e8208776fe1eb2cac /executor/executor.cc | |
| parent | e48b08e56fc5b9b57e6b04813946e3f53de8e4b6 (diff) | |
pkg/manager: wrap channel writes in select
Writes to channels are dangerous in the presence of context cancellation
- no one may be listening on the receiving side.
Wrap the writes in a select that also awaits ctx.Done().
Diffstat (limited to 'executor/executor.cc')
0 files changed, 0 insertions, 0 deletions
