Skip to content

Conversation

@smallbrownbike
Copy link

Fix for #331. --remove now triggers files to be removed when exiting the player.

process.exit()
})
}
process.on('SIGINT' || 'SIGTERM', onexit)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will only listen for sigint :) you need to add both listeners

@mafintosh
Copy link
Owner

added minor comment. lgtm otherwise 👍

@korzhyk
Copy link
Contributor

korzhyk commented Nov 20, 2021

@smallbrownbike hey, can you? #332 (comment)

@adrianiepure
Copy link

Please pardon my ignorance but I'm running peerflix with the following arguments and yet the files are not removed once exiting the player.

peerflix -r -k [magnet]

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants