Skip to content
Snippets Groups Projects
Commit c045707e authored by Federico Dossena's avatar Federico Dossena Committed by GitHub
Browse files

Merge pull request #21 from geisserm/master

Abort request after onload in download test to free RAM
parents bda31f03 bc741920
No related branches found
No related tags found
No related merge requests found
......@@ -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(){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment