mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-10-04 09:08:42 +00:00
GH-1053 explode launch task into many small steps, each a Task
This commit is contained in:
@@ -73,12 +73,13 @@ void YggdrasilTask::heartbeat()
|
||||
progress(count, timeout_max);
|
||||
}
|
||||
|
||||
void YggdrasilTask::abort()
|
||||
bool YggdrasilTask::abort()
|
||||
{
|
||||
progress(timeout_max, timeout_max);
|
||||
// TODO: actually use this in a meaningful way
|
||||
m_aborted = YggdrasilTask::BY_USER;
|
||||
m_netReply->abort();
|
||||
return true;
|
||||
}
|
||||
|
||||
void YggdrasilTask::abortByTimeout()
|
||||
|
Reference in New Issue
Block a user