input/buffered: wake up client thread on seek error
This commit is contained in:
parent
ca06d9d3bf
commit
63fe4d1d17
@ -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()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user