Skip to content

Commit

Permalink
fix: skip error propagation to avoid zombie child process
Browse files Browse the repository at this point in the history
  • Loading branch information
jiegec committed Jun 21, 2024
1 parent b029b1a commit 7ae0823
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions worker/src/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ async fn get_output_logged(
let mut stdout_out = vec![];
while let Ok(Some(v)) = stdout_reader.next_line().await {
for line in v.split("\r") {
tx.clone()
.into_send_async(Message::Text(line.to_string()))
.await?;
tx.send_async(Message::Text(line.to_string())).await.ok();
}
stdout_out.push(v);
}
Expand Down

0 comments on commit 7ae0823

Please sign in to comment.