Removed unnecessary attachment() calls

This commit is contained in:
Trustin Lee 2010-01-29 03:04:19 +00:00
parent c4b5248f68
commit e0c14e096a
2 changed files with 2 additions and 2 deletions

View File

@ -424,7 +424,7 @@ class NioDatagramWorker implements Runnable {
}
if (failure) {
close(key);
close(channel, succeededFuture(channel));
return false;
}

View File

@ -354,7 +354,7 @@ class NioWorker implements Runnable {
}
if (ret < 0 || failure) {
close(k);
close(channel, succeededFuture(channel));
return false;
}