Skip to content

Commit

Permalink
fix: when CE occur, set_idle
Browse files Browse the repository at this point in the history
  • Loading branch information
Zztrans committed Apr 15, 2024
1 parent dfaa7db commit 86204f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions judger/src/worker/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ impl JudgeWorker {
src_path: runtime_path.clone().join(&src_file_name),
});
if let Err(e) = new_builder_result {
state::set_idle();
if let JudgeCoreError::CompileError(_) = e {
return Ok(vec![
JudgeResultInfo {
Expand Down

0 comments on commit 86204f1

Please sign in to comment.