Skip to content

Commit 51b174c

Browse files
committed
2 parents 7592b51 + ab2576b commit 51b174c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/library/request.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ export class PlayerRequest {
1717
return new Promise(function (resolve, reject) {
1818

1919
let xhr = new XMLHttpRequest();
20+
21+
// TODO: abort the request?
22+
// https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/abort
2023

2124
// thirs parameter is for "async", default true but who knows if prefer to explicitly set it just in case
2225
xhr.open('GET', requested.url, true);

0 commit comments

Comments
 (0)