Fix potential resource leak in SslHandler (part 2)

- Fix a non-sense check
This commit is contained in:
Trustin Lee 2013-03-04 16:01:03 +09:00
parent e15ca4947e
commit 16a9dc6224

View File

@ -1424,7 +1424,7 @@ public class SslHandler extends FrameDecoder
}
}
if (!engine.isInboundDone()) {
if (!engine.isOutboundDone()) {
if (sentCloseNotify.compareAndSet(false, true)) {
engine.closeOutbound();
try {