fix(Jobs): change request state to prepare_to_finish in case of an error

This commit is contained in:
tomasz.sowa committed 2022-07-25 18:37:39 +02:00
1 parent d4da6aa518
commit 522b57ade4
2 files changed
+15 -7

No files matched your search

+1 -1
View File
@@ -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;