mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-05-20 03:31:27 +00:00
Change CatchingExecutor:
* ignore cancellation exception * remove assertion (Closes #2270)
This commit is contained in:
@@ -77,11 +77,10 @@ public final class CatchingExecutors {
|
||||
}
|
||||
|
||||
private static void afterExecuteFuture(Future<?> future) {
|
||||
assert future.isDone();
|
||||
try {
|
||||
future.get();
|
||||
} catch (CancellationException ce) {
|
||||
callHandler(Thread.currentThread(), ce);
|
||||
//Ignore
|
||||
} catch (ExecutionException ee) {
|
||||
callHandler(Thread.currentThread(), ee.getCause());
|
||||
} catch (InterruptedException ie) {
|
||||
|
||||
Reference in New Issue
Block a user