mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
fix download java abort being stuck
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
f46b73acb5
commit
22ebf7e961
3 changed files with 13 additions and 9 deletions
|
|
@ -37,7 +37,9 @@ bool MinecraftLoadAndCheck::canAbort() const
|
|||
bool MinecraftLoadAndCheck::abort()
|
||||
{
|
||||
if (m_task && m_task->canAbort()) {
|
||||
return m_task->abort();
|
||||
auto status = m_task->abort();
|
||||
emitFailed("Aborted.");
|
||||
return status;
|
||||
}
|
||||
return Task::abort();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue