Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
Merge branch 'main' into glob-escape
Browse files Browse the repository at this point in the history
  • Loading branch information
ranweiler authored Dec 22, 2022
2 parents c119458 + d51d4e0 commit 5b62236
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/agent/coverage/src/timer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ where

let _worker = thread::spawn(move || {
let out = function();
worker_sender.send(Timed::Done(out)).unwrap();
let _ = worker_sender.send(Timed::Done(out));
});

let _timer = thread::spawn(move || {
thread::sleep(timeout);
timer_sender.send(Timed::Timeout).unwrap();
let _ = timer_sender.send(Timed::Timeout);
});

match receiver.recv()? {
Expand Down

0 comments on commit 5b62236

Please sign in to comment.