webtorrent / create-torrent

Create .torrent files
https://webtorrent.io
MIT License
341 stars 94 forks source link

fix: hash faster than callback #186

Closed ThaUnknown closed 2 years ago

ThaUnknown commented 2 years ago

What is the purpose of this pull request? (put an "X" next to item)

[ ] Documentation update [x] Bug fix [ ] New feature [ ] Other, please explain:

fixes an issue where tha sha1 sync hash could be faster than the resolve() callback promise causing an indefinite wait, oops!

webtorrent-bot commented 2 years ago

:tada: This PR is included in version 5.0.9 :tada:

The release is available on:

Your semantic-release bot :package::rocket: