changed method order

This commit is contained in:
nathan 2018-03-22 19:21:08 +01:00
parent ce177adddc
commit dbd9c3d10a

View File

@ -41,9 +41,9 @@ class ChannelNetwork implements ConnectionPoint {
@Override @Override
public public
void write(Object object) throws Exception { void write(Object object) throws Exception {
shouldFlush.set(true);
// we don't care, or want to save the future. This is so GC is less. // we don't care, or want to save the future. This is so GC is less.
channel.write(object, voidPromise); channel.write(object, voidPromise);
shouldFlush.set(true);
} }
/** /**