From dda3ebc7b4c4612c5faebeb6f7dbb15400425ea7 Mon Sep 17 00:00:00 2001 From: microwin7 Date: Fri, 23 Aug 2024 21:58:57 +0300 Subject: [PATCH] [FIX] RejectedExecutionException after cancelled Download task --- .../src/main/java/pro/gravit/launcher/base/Downloader.java | 1 - 1 file changed, 1 deletion(-) diff --git a/LauncherAPI/src/main/java/pro/gravit/launcher/base/Downloader.java b/LauncherAPI/src/main/java/pro/gravit/launcher/base/Downloader.java index 6fb5bd20..01c80c8d 100644 --- a/LauncherAPI/src/main/java/pro/gravit/launcher/base/Downloader.java +++ b/LauncherAPI/src/main/java/pro/gravit/launcher/base/Downloader.java @@ -141,7 +141,6 @@ public void cancel() { } } tasks.clear(); - executor.shutdownNow(); } public boolean isCanceled() {