mirror of
https://github.com/librespeed/speedtest.git
synced 2026-06-26 20:01:56 +00:00
abort request after onload to free ram
This commit is contained in:
parent
bda31f033b
commit
bc741920a4
1 changed files with 1 additions and 0 deletions
|
|
@ -176,6 +176,7 @@ function dlTest(done){
|
|||
}.bind(this);
|
||||
xhr[i].onload=function(){
|
||||
//the large file has been loaded entirely, start again
|
||||
xhr[i].abort();// reset the stream data to empty ram
|
||||
testStream(i,0);
|
||||
}.bind(this);
|
||||
xhr[i].onerror=function(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue