mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-23 01:50:35 +00:00
The underlying reader is owned by the caller if it is moved to it, but not if it was constructed with a reference to the underlying reader. Close the underlying reader on close() only in the former case. Signed-off-by: Benny Halevy <bhalevy@scylladb.com>