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 upCannot read property 'tracker' of null #1589
Open
Labels
Comments
This comment has been minimized.
This comment has been minimized.
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
This comment has been minimized.
This comment has been minimized.
|
Re-opening this issue so that someone can look into it and see if it's still an issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I can't reproduce it locally but Sentry is reporting this error a lot. My code calls
torrent.destroy(), which setsthis.client = null. It seems like thegetAnnounceOptsfunction is still called after the torrent is destroyed. Maybe add a guard clause:if (this.destroyed) return?webtorrent/lib/torrent.js
Line 291 in 1829dc2