-
-
Couldn't load subscription status.
- Fork 2.8k
Prepare Tokio v1.43.3 #7679
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prepare Tokio v1.43.3 #7679
Changes from all commits
b1e69e5
4fee6e3
b9feac8
da292df
49b3318
bd4c3dd
90551d2
de6ef21
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -656,3 +656,15 @@ async fn receiver_recv_is_cooperative() { | |
| _ = tokio::task::yield_now() => {}, | ||
| } | ||
| } | ||
|
|
||
| #[tokio::test] | ||
| async fn broadcast_sender_new_must_be_closed() { | ||
| let capacity = 1; | ||
| let tx: broadcast::Sender<()> = broadcast::Sender::new(capacity); | ||
|
|
||
| tx.send(()).unwrap_err(); | ||
|
|
||
| let _rx = tx.subscribe(); | ||
|
|
||
| tx.send(()).unwrap(); | ||
| } | ||
|
Comment on lines
+660
to
+670
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This diverges the #7629 due to the |
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I chose to not backport the #7537 because it is a quite large change, changes on LTS should be minimal unless absolutely necessary.