mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 840124 - bustage fix for debug leaks
This commit is contained in:
parent
21e7502cdb
commit
444fb38480
@ -48,6 +48,7 @@ let gTests = [
|
||||
}
|
||||
else if (e.data.type == "testsComplete") {
|
||||
is(results, e.data.count, "Checking number of results received matches the number of tests that should have run");
|
||||
win.removeEventListener("message", testLoad, false, true);
|
||||
deferred.resolve();
|
||||
}
|
||||
|
||||
|
@ -888,13 +888,17 @@ CrashesProvider.prototype = Object.freeze({
|
||||
let pending = yield service.getPendingFiles();
|
||||
let submitted = yield service.getSubmittedFiles();
|
||||
|
||||
function getAgeLimit() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
let lastCheck = yield this.getState("lastCheck");
|
||||
if (!lastCheck) {
|
||||
lastCheck = 0;
|
||||
lastCheck = getAgeLimit();
|
||||
} else {
|
||||
lastCheck = parseInt(lastCheck, 10);
|
||||
if (Number.isNaN(lastCheck)) {
|
||||
lastCheck = 0;
|
||||
lastCheck = getAgeLimit();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user