mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 775719 - fix bogus call to nextFile() in TelemetryPing.js; r=taras
This commit is contained in:
parent
cc75f7deee
commit
f46addfd2d
@ -740,9 +740,8 @@ TelemetryPing.prototype = {
|
||||
this._pingsLoaded = 0;
|
||||
this._pingLoadsCompleted = 0;
|
||||
try {
|
||||
let entry;
|
||||
while (entry = entries.nextFile()) {
|
||||
this.loadHistograms(entry, sync);
|
||||
while (entries.hasMoreElements()) {
|
||||
this.loadHistograms(entries.nextFile, sync);
|
||||
}
|
||||
}
|
||||
finally {
|
||||
|
Loading…
Reference in New Issue
Block a user