[FIX] RejectedExecutionException after cancelled Download task

This commit is contained in:
microwin7 2024-08-23 21:58:57 +03:00
parent 537623afaf
commit dda3ebc7b4

View file

@ -141,7 +141,6 @@ public void cancel() {
} }
} }
tasks.clear(); tasks.clear();
executor.shutdownNow();
} }
public boolean isCanceled() { public boolean isCanceled() {