Skip to content

Commit a802e64

Browse files
committed
Loaders: Recreate AbortController.
1 parent 22b330a commit a802e64

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/loaders/FileLoader.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ class FileLoader extends Loader {
354354
abort() {
355355

356356
this._abortController.abort();
357+
this._abortController = new AbortController();
357358

358359
return this;
359360

src/loaders/ImageBitmapLoader.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ class ImageBitmapLoader extends Loader {
208208
abort() {
209209

210210
this._abortController.abort();
211+
this._abortController = new AbortController();
211212

212213
return this;
213214

0 commit comments

Comments
 (0)