input/thread: check buffer.empty() in IsEOF()
This commit is contained in:
parent
2e78bd430c
commit
4a55e3e8bd
|
@ -149,5 +149,5 @@ ThreadInputStream::IsEOF() const noexcept
|
|||
{
|
||||
assert(!thread.IsInside());
|
||||
|
||||
return eof;
|
||||
return eof && buffer.empty();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue