Commit 63fe4d1d authored by Max Kellermann's avatar Max Kellermann

input/buffered: wake up client thread on seek error

parent ca06d9d3
...@@ -187,6 +187,8 @@ BufferedInputStream::RunThread() noexcept ...@@ -187,6 +187,8 @@ BufferedInputStream::RunThread() noexcept
own InputStream interface) is in own InputStream interface) is in
"read" mode */ "read" mode */
read_error = std::current_exception(); read_error = std::current_exception();
client_cond.signal();
InvokeOnAvailable();
} }
} else if (!idle && !read_error && } else if (!idle && !read_error &&
input->IsAvailable() && !input->IsEOF()) { input->IsAvailable() && !input->IsEOF()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment