Skip to content

Conversation

@adi64
Copy link

@adi64 adi64 commented Nov 29, 2024

Long description

This fixes that a callback passed to setTimeout didn't have the properly bound this. Now an arrow function is used, which automatically captures this.

This PR also bumps the version to 4.0.1

TODOs

  • I ran npm run build and pushed the dist files if needed
  • I added an entry to the CHANGELOG.md for this PR

@adi64 adi64 linked an issue Nov 29, 2024 that may be closed by this pull request
@adi64 adi64 force-pushed the 34-fix-settimeout-in-resumablechunk branch from 1f9b9aa to 501ffcb Compare November 29, 2024 09:45
@adi64 adi64 marked this pull request as ready for review November 29, 2024 09:47
@adi64 adi64 self-assigned this Nov 29, 2024
@UniquePanda UniquePanda merged commit 2192bf5 into main Nov 29, 2024
@UniquePanda UniquePanda deleted the 34-fix-settimeout-in-resumablechunk branch November 29, 2024 09:50
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.

Fix setTimeout() in ResumableChunk

4 participants