Track tasks and feature requests
Join 40 million developers who use GitHub issues to help identify, assign, and keep track of the features and bug fixes your projects need.
Sign up for free See pricing for teams and enterprisesException thrown in Torrent._debug after torrent has been destroyed. #1800
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of this package are you using?
0.107.17
What operating system, Node.js, and npm version?
I'm using Node 10 in App Engine.
What happened?
I've seen some exceptions in the logs which appear to come from calling _debug on a torrent that has already been destroyed. The stack trace is posted below.
What did you expect to happen?
I didn't expect an exception.
Are you willing to submit a pull request to fix this bug?
Sure. I can submit a fix that skips logging if the client has already been wiped out, but I wanted to check if some other change would make more sense.