mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-17 02:11:38 +02:00
flushing just to be sure
Change-Id: Iebdc4b50a94e3247c15152c6c3148620739cc864
This commit is contained in:
parent
485b478c79
commit
cac919cc13
@ -171,6 +171,7 @@ public final class KryoNamespace implements KryoFactory {
|
||||
Kryo kryo = getKryo();
|
||||
try {
|
||||
kryo.writeClassAndObject(out, obj);
|
||||
out.flush();
|
||||
return out.toBytes();
|
||||
} finally {
|
||||
putKryo(kryo);
|
||||
@ -188,6 +189,7 @@ public final class KryoNamespace implements KryoFactory {
|
||||
Kryo kryo = getKryo();
|
||||
try {
|
||||
kryo.writeClassAndObject(out, obj);
|
||||
out.flush();
|
||||
} finally {
|
||||
putKryo(kryo);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user