Skip to content

Commit

Permalink
Fix issue on windows where child has already exited
Browse files Browse the repository at this point in the history
  • Loading branch information
rgwood committed Apr 11, 2024
1 parent 07f1271 commit a36ec48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ fn main() -> Result<()> {

if bytes.iter().any(|b| *b == 0x4) {
// EOF
child.clone_killer().kill()?;
_ = child.clone_killer().kill();
drop(_clean_up);
let sequence_count = state.sequence_count.load(Ordering::Relaxed);
println!(
Expand Down

0 comments on commit a36ec48

Please sign in to comment.