changed method order
This commit is contained in:
parent
ce177adddc
commit
dbd9c3d10a
@ -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);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user