diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-03-21 19:00:11 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-21 19:00:11 +0100 |
| commit | 93a82a44a192a8a3f3c3610853878a57a0a37ee3 (patch) | |
| tree | cd8f577063f6c3d5c81b9eac2b41da9181d939b6 /compiler/rustc_plugin_impl/src/errors.rs | |
| parent | 1a43859a747a8916dbec98b8847a237e6caaf994 (diff) | |
| parent | 34aa87292c5cd45c88a72235dad6e973a9f2b62f (diff) | |
| download | rust-93a82a44a192a8a3f3c3610853878a57a0a37ee3.tar.gz rust-93a82a44a192a8a3f3c3610853878a57a0a37ee3.zip | |
Rollup merge of #108164 - joboet:discard_messages_mpmc_array, r=Amanieu
Drop all messages in bounded channel when destroying the last receiver Fixes #107466 by splitting the `disconnect` function for receivers/transmitters and dropping all messages in `disconnect_receivers` like the unbounded channel does. Since all receivers must be dropped before the channel is, the messages will already be discarded at that point, so the `Drop` implementation for the channel can be removed. ``@rustbot`` label +T-libs +A-concurrency
Diffstat (limited to 'compiler/rustc_plugin_impl/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
