Commit 5d165971 authored by Matthias Vallentin's avatar Matthias Vallentin

Invoke after_resume immediately after resuming.

parent 18e60764
......@@ -129,8 +129,8 @@ class worker : public execution_unit {
m_policy.before_resume(this, job);
switch (job->resume(this, m_max_throughput)) {
case resumable::resume_later: {
m_policy.resume_job_later(this, job);
m_policy.after_resume(this, job);
m_policy.resume_job_later(this, job);
break;
}
case resumable::done: {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment