Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upException 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.