remove explicit fclose from S3->writeStream
streams get closed automatically when dropped, and in some cases the stream seems to be already closed by the S3 library, in which case trying to close it again will raise an error Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
95cddb84e2
commit
3eb764e65d
|
@ -104,8 +104,6 @@ trait S3ObjectTrait {
|
|||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
fclose($countStream);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue