Skip to content

getting php error on closing of download #7

Description

@heffthedev

I'm using your class to resume an audio stream. When I close the stream, cancelling the running download, I get the following error:
PHP Fatal error: Uncaught TypeError: fclose() expects parameter 1 to be resource, int given in [....]vendor/daverandom/resume/src/FileResource.php:114
I'm running PHP 7.4.16. Did I implement your class wrong or is this something that shouldn't happen?
Thanks for your amazing work on this!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions