Bug 775719 - fix bogus call to nextFile() in TelemetryPing.js; r=taras

This commit is contained in:
Nathan Froyd 2012-07-19 16:39:00 -04:00
parent cc75f7deee
commit f46addfd2d

View File

@ -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 {