This commit is contained in:
Bojan Serafimov
2022-05-23 22:33:53 -04:00
parent f3c71899be
commit eefc7aa792

View File

@@ -42,6 +42,7 @@ impl<J: Job> Pool<J> {
// Run job without holding lock
drop(job_table);
// TODO don't run job if previous iteration is still running
let result = panic::catch_unwind(AssertUnwindSafe(|| {
job.run();
}));