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
709788e08f
commit
68fb72b028
|
@ -103,8 +103,6 @@ trait S3ObjectTrait {
|
|||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
fclose($countStream);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue