Skip to content
Snippets Groups Projects
Commit 60f73380 authored by Reynold Xin's avatar Reynold Xin
Browse files

Remove the call to close input stream in Kryo serializer.

parent 3334b7c6
No related branches found
No related tags found
No related merge requests found
......@@ -46,8 +46,8 @@ class KryoDeserializationStream(kryo: Kryo, inStream: InputStream) extends Deser
}
def close() {
// Kryo's Input automatically closes the input stream it is using.
input.close()
inStream.close()
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment