input/buffering: clear read_error after successful seek
After seeking, a new read should be done.
This commit is contained in:
@@ -144,6 +144,7 @@ BufferingInputStream::RunThread() noexcept
|
|||||||
|
|
||||||
idle = false;
|
idle = false;
|
||||||
seek = false;
|
seek = false;
|
||||||
|
read_error = {};
|
||||||
client_cond.notify_one();
|
client_cond.notify_one();
|
||||||
} else if (!idle && !read_error &&
|
} else if (!idle && !read_error &&
|
||||||
offset != input->GetOffset() &&
|
offset != input->GetOffset() &&
|
||||||
|
Reference in New Issue
Block a user