input/thread: check buffer.empty() in IsEOF()

This commit is contained in:
Max Kellermann 2024-07-29 23:02:59 +02:00
parent 2e78bd430c
commit 4a55e3e8bd
1 changed files with 1 additions and 1 deletions

View File

@ -149,5 +149,5 @@ ThreadInputStream::IsEOF() const noexcept
{
assert(!thread.IsInside());
return eof;
return eof && buffer.empty();
}