mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-09 00:04:10 +00:00
fix send tx for kill
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user