FIX: reset the print stage before job started

jira: [STUDIO-10862]
Change-Id: I8aadc0835393a92d5e4ba45d6fbaee30fc6c72ee
This commit is contained in:
xin.zhang 2025-03-14 11:08:39 +08:00 committed by lane.wei
parent 0cb04b4d26
commit b9ab0a2456
1 changed files with 2 additions and 0 deletions

View File

@ -53,6 +53,8 @@ void PrintJob::prepare()
BOOST_LOG_TRIVIAL(trace) << "sned_job: check_access_code_path = " << check_access_code_path; BOOST_LOG_TRIVIAL(trace) << "sned_job: check_access_code_path = " << check_access_code_path;
job_data._temp_path = fs::path(check_access_code_path); job_data._temp_path = fs::path(check_access_code_path);
} }
m_print_stage = BBL::SendingPrintJobStage::PrintingStageLimit;
} }
void PrintJob::on_exception(const std::exception_ptr &eptr) void PrintJob::on_exception(const std::exception_ptr &eptr)