Yuta HIGUCHI

flushing just to be sure

Change-Id: Iebdc4b50a94e3247c15152c6c3148620739cc864
......@@ -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);
}
......