fix: some abort-related issues
Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
@ -30,6 +30,7 @@ bool FlameCreationTask::abort()
|
||||
if (!canAbort())
|
||||
return false;
|
||||
|
||||
m_abort = true;
|
||||
if (m_process_update_file_info_job)
|
||||
m_process_update_file_info_job->abort();
|
||||
if (m_files_job)
|
||||
|
@ -22,8 +22,9 @@ bool ModrinthCreationTask::abort()
|
||||
if (!canAbort())
|
||||
return false;
|
||||
|
||||
m_abort = true;
|
||||
if (m_files_job)
|
||||
return m_files_job->abort();
|
||||
m_files_job->abort();
|
||||
return Task::abort();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user