Swallow AsynchronousCloseException
This commit is contained in:
parent
4376cd5a91
commit
6c2230aac2
@ -448,6 +448,8 @@ class NioWorker implements Runnable {
|
||||
addOpWrite = true;
|
||||
break;
|
||||
}
|
||||
} catch (AsynchronousCloseException e) {
|
||||
// Doesn't need a user attention - ignore.
|
||||
} catch (Throwable t) {
|
||||
evt.getFuture().setFailure(t);
|
||||
evt = null;
|
||||
@ -527,6 +529,8 @@ class NioWorker implements Runnable {
|
||||
addOpWrite = true;
|
||||
break;
|
||||
}
|
||||
} catch (AsynchronousCloseException e) {
|
||||
// Doesn't need a user attention - ignore.
|
||||
} catch (Throwable t) {
|
||||
evt.getFuture().setFailure(t);
|
||||
evt = null;
|
||||
|
Loading…
Reference in New Issue
Block a user