Skip to content

Commit

Permalink
fixed quit logic
Browse files Browse the repository at this point in the history
  • Loading branch information
epi052 committed Oct 10, 2022
1 parent 2be5f95 commit ce8c74c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fuzzers/async_fuzzer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ where
// in case we're fuzzing more than once, reset the scheduler
self.scheduler.reset();

if err.is_err() {
if err.is_err() || should_quit.load(Ordering::SeqCst) {
return Ok(Some(Action::StopFuzzing));
}

Expand Down

0 comments on commit ce8c74c

Please sign in to comment.