forked from joltup/rn-fetch-blob
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 Fix Task Scoping for Fetch Cancellation
The assigned `task` variable is not available on the cancel method. This moves the assignment outside the promise scope and allows it to be correctly called.
- Loading branch information
1 parent
acfb2f0
commit 3c3fd48
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters