Skip to content

Commit

Permalink
FetchStreamLoader: Fix memory leak
Browse files Browse the repository at this point in the history
  • Loading branch information
spacemeowx2 authored and xqq committed Sep 1, 2017
1 parent da341fb commit f89b41f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io/fetch-stream-loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ class FetchStreamLoader extends BaseLoader {
this._onDataArrival(chunk, byteStart, this._receivedLength);
}

return this._pump(reader);
this._pump(reader);
}
}).catch((e) => {
if (e.code === 11 && Browser.msedge) { // InvalidStateError on Microsoft Edge
Expand Down

0 comments on commit f89b41f

Please sign in to comment.