mirror of
https://github.com/nextcloud/server.git
synced 2026-04-24 15:53:36 -04:00
Merge pull request #11432 from nextcloud/assemblystream-eof
AssemblyStream is also eof if we have no more source stream
This commit is contained in:
commit
0ded277bea
1 changed files with 1 additions and 1 deletions
|
|
@ -182,7 +182,7 @@ class AssemblyStream implements \Icewind\Streams\File {
|
|||
* @return bool
|
||||
*/
|
||||
public function stream_eof() {
|
||||
return $this->pos >= $this->size;
|
||||
return $this->pos >= $this->size || $this->currentStream === null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue