input/thread: check IsEOF() in IsAvailable()
This commit is contained in:
parent
4a55e3e8bd
commit
61e8df913d
|
@ -111,7 +111,7 @@ ThreadInputStream::IsAvailable() const noexcept
|
||||||
{
|
{
|
||||||
assert(!thread.IsInside());
|
assert(!thread.IsInside());
|
||||||
|
|
||||||
return !buffer.empty() || eof || postponed_exception;
|
return !IsEOF() || postponed_exception;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline size_t
|
inline size_t
|
||||||
|
|
Loading…
Reference in New Issue