ty!
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: Kode <TheKodeToad@proton.me>
This commit is contained in:
parent
e0380960fd
commit
5b8d025440
@ -64,6 +64,7 @@ bool ModrinthPackExportTask::abort()
|
||||
|
||||
if (buildZipFuture.isRunning()) {
|
||||
buildZipFuture.cancel();
|
||||
// NOTE: Here we don't do `emitAborted()` because it will be done when `buildZipFuture` actually cancels, which may not occur immediately.
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user