fix: hook up setAbortStatus in instance import tasks
Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
parent
6a50fa35ec
commit
87002fb8f8
7 changed files with 30 additions and 7 deletions
|
@ -27,6 +27,9 @@ static const FlameAPI api;
|
|||
|
||||
bool FlameCreationTask::abort()
|
||||
{
|
||||
if (!canAbort())
|
||||
return false;
|
||||
|
||||
if (m_process_update_file_info_job)
|
||||
m_process_update_file_info_job->abort();
|
||||
if (m_files_job)
|
||||
|
@ -34,7 +37,7 @@ bool FlameCreationTask::abort()
|
|||
if (m_mod_id_resolver)
|
||||
m_mod_id_resolver->abort();
|
||||
|
||||
return true;
|
||||
return Task::abort();
|
||||
}
|
||||
|
||||
bool FlameCreationTask::updateInstance()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue