This commit is contained in:
Trustin Lee 2013-07-12 20:30:25 +09:00
parent edb6786a5c
commit 456994607b
2 changed files with 2 additions and 2 deletions

View File

@ -606,7 +606,7 @@ public abstract class AbstractChannel extends DefaultAttributeMap implements Cha
// Flush immediately only when there's no pending flush.
// If there's a pending flush operation, event loop will call flushNow() later,
// and thus there's no need to call it now.
if (!force || isFlushPending()) {
if (!force && isFlushPending()) {
return;
}

View File

@ -4,7 +4,7 @@
* The Netty Project licenses this file to you under the Apache License,
* version 2.0 (the "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at:
*
*abstract
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software