Compare commits

...
Author SHA1 Message Date
JaniruTEC 0dca0d6f1c Fixed #2270 2022-06-30 02:28:42 +02:00
@@ -53,7 +53,7 @@ public final class CatchingExecutors {
callHandler(Thread.currentThread(), throwable); callHandler(Thread.currentThread(), throwable);
} else if (runnable instanceof Task<?> t) { } else if (runnable instanceof Task<?> t) {
afterExecuteTask(t); afterExecuteTask(t);
} else if (runnable instanceof Future<?> f) { } else if (runnable instanceof Future<?> f && f.isDone()) {
afterExecuteFuture(f); afterExecuteFuture(f);
} }
//Errors in this method are delegated to the UncaughtExceptionHandler of the current thread //Errors in this method are delegated to the UncaughtExceptionHandler of the current thread