fix(Jobs): change request state to prepare_to_finish in case of an error
This commit is contained in:
@@ -98,7 +98,7 @@ public:
|
||||
// assigned_to_job - the request is preserved and a new job will be called
|
||||
// job_run - run in the job thread (objects are locked)
|
||||
// finished - the request is finished and the object can be removed
|
||||
enum RunState { not_assigned = 0, normal_run, assigned_to_job, job_run, job_continuation_run, finished};
|
||||
enum RunState { not_assigned = 0, normal_run, assigned_to_job, job_run, job_continuation_run, prepare_to_finish, finished};
|
||||
|
||||
RunState run_state;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user