Swallow AsynchronousCloseException

This commit is contained in:
Trustin Lee 2008-10-01 13:14:28 +00:00
parent 4376cd5a91
commit 6c2230aac2

View File

@ -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;