input/thread: check buffer.empty() in IsEOF()
This commit is contained in:
		| @@ -149,5 +149,5 @@ ThreadInputStream::IsEOF() const noexcept | ||||
| { | ||||
| 	assert(!thread.IsInside()); | ||||
|  | ||||
| 	return eof; | ||||
| 	return eof && buffer.empty(); | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Max Kellermann
					Max Kellermann