mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-08 00:00:13 +02:00
sync: free chan Blocks when Chan is dropped (#978)
This commit is contained in:
committed by
Carl Lerche
parent
a1871b1480
commit
27148d6110
@@ -356,7 +356,7 @@ fn dropping_rx_closes_channel_for_try() {
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn unconsumed_messagers_are_dropped() {
|
||||
fn unconsumed_messages_are_dropped() {
|
||||
let msg = Arc::new(());
|
||||
|
||||
let (mut tx, rx) = mpsc::channel(100);
|
||||
|
||||
Reference in New Issue
Block a user