aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKode <TheKodeToad@proton.me>2023-05-12 14:43:55 +0100
committerGitHub <noreply@github.com>2023-05-12 14:43:55 +0100
commit5b8d0254408a6fd3e123eb06b7cbcdd20bd54518 (patch)
treef4e5cc4ce4f137a49739ad93715fb906b4a270e0
parente0380960fda706a70bef6f63610bcfa68775e21d (diff)
downloadPrismLauncher-5b8d0254408a6fd3e123eb06b7cbcdd20bd54518.tar.gz
PrismLauncher-5b8d0254408a6fd3e123eb06b7cbcdd20bd54518.tar.bz2
PrismLauncher-5b8d0254408a6fd3e123eb06b7cbcdd20bd54518.zip
ty!
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: Kode <TheKodeToad@proton.me>
-rw-r--r--launcher/modplatform/modrinth/ModrinthPackExportTask.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/launcher/modplatform/modrinth/ModrinthPackExportTask.cpp b/launcher/modplatform/modrinth/ModrinthPackExportTask.cpp
index d2ef0653..9a45e46b 100644
--- a/launcher/modplatform/modrinth/ModrinthPackExportTask.cpp
+++ b/launcher/modplatform/modrinth/ModrinthPackExportTask.cpp
@@ -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;