tokio-1.38.2
tokio-rs/tokiotokio-1.38.2Apr 3, 2025by carllerche
AI Summary
Re-release of the broadcast channel soundness fix.
Key Highlights
- Fixed soundness issue in broadcast channel
Full Release Notes
This release fixes a soundness issue in the broadcast channel. The channel accepts values that are `Send` but `!Sync`. Previously, the channel called `clone()` on these values without synchronizing. This release fixes the channel by synchronizing calls to `.clone()` (Thanks Austin Bonander for finding and reporting the issue). ### Fixed - sync: synchronize `clone()` call in broadcast channel ([#7232]) [#7232]: https://github.com/tokio-rs/tokio/pull/7232