fix send tx for kill

This commit is contained in:
Ruben Fiszel
2022-10-22 00:34:36 +02:00
parent fb572e3279
commit f8fce1fa78
+1 -1
View File
@@ -1723,7 +1723,7 @@ async fn handle_child(
_ = cancel_check => KillReason::Cancelled,
_ = sleep(timeout) => KillReason::Timeout,
};
let _ = tx.send(());
tx.send(()).await.expect("rx should never be dropped");
drop(tx);
let set_reason = async {