Skip to content

Commit

Permalink
Fix ChannelFactory add_job
Browse files Browse the repository at this point in the history
  • Loading branch information
fi3 committed Dec 16, 2024
1 parent 3875ee4 commit 66f61f1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ impl ChannelFactory {
self.id_to_job.retain(|_, v| *v != to_remove as u8);
self.id_to_job.insert(job.job_id, to_remove as u8);
self.last_valid_jobs[to_remove] = Some((job, group_ids));
self.added_elements += 1;
}
_ => panic!("Internal error: invalid last_valid_jobs state"),
}
Expand Down

0 comments on commit 66f61f1

Please sign in to comment.