Skip to content

Commit

Permalink
Merge pull request #722 from werk85/fix-request-manager-counters
Browse files Browse the repository at this point in the history
Reset RequestManger counters when all requests are aborted
  • Loading branch information
tsturm committed Feb 22, 2017
2 parents f67aef6 + 43cf6b7 commit e30f5fa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/util/RequestManager.js
Expand Up @@ -174,6 +174,9 @@ x3dom.RequestManager.abortAllRequests = function()

this.requests = [];
this.activeRequests = [];
this.failedRequests = 0;
this.loadedRequests = 0;
this.totalRequests = 0;

this.onAbortAllRequests( this._getCounters() );
}
Expand Down

0 comments on commit e30f5fa

Please sign in to comment.