Fixed IllegalArgumentException: No task with id 6 (#512)

This commit is contained in:
Rsl1122 2018-02-01 20:45:00 +02:00
parent 6f475b8d82
commit 1155d10934

View File

@ -42,7 +42,7 @@ public abstract class Consumer<T> extends AbsRunnable {
run = false;
try {
super.cancel();
} catch (NullPointerException ignore) {
} catch (NullPointerException | IllegalArgumentException ignore) {
/*ignored*/
}
}