mirror of
https://github.com/ioquake/launch.git
synced 2024-11-24 20:21:06 +00:00
Fix crash when canceling wizard after patch download is complete.
This commit is contained in:
parent
82854ab6e9
commit
7c5306c507
1 changed files with 4 additions and 1 deletions
|
@ -54,7 +54,10 @@ void InstallWizard_Patch::cancel()
|
||||||
|
|
||||||
delete patchFile;
|
delete patchFile;
|
||||||
patchFile = NULL;
|
patchFile = NULL;
|
||||||
|
|
||||||
|
if (!isDownloadFinished)
|
||||||
networkReply->abort();
|
networkReply->abort();
|
||||||
|
|
||||||
isCancelled = true;
|
isCancelled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue