Skip to content

Commit

Permalink
input/thread: check buffer.empty() in IsEOF()
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Jul 29, 2024
1 parent 2e78bd4 commit 4a55e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/input/ThreadInputStream.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -149,5 +149,5 @@ ThreadInputStream::IsEOF() const noexcept
{
assert(!thread.IsInside());

return eof;
return eof && buffer.empty();
}

0 comments on commit 4a55e3e

Please sign in to comment.