Skip to content

--remove not triggered when peerflix exits because player was closed #331

@jonrouleau

Description

@jonrouleau

-r, --remove remove files on exit

When --remove is set, files should be removed regardless of how we exit.

Currently, engine.remove() is only triggered on SIGINT and SIGTERM and not when we exit after the player closes as we are directly calling process.exit(0) from the [player].on('exit') callbacks.

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