Fix a thread stats bug.

This commit is contained in:
Zixaphir 2014-03-13 00:32:48 -07:00
parent 2a703f08a2
commit 0f0c50ca33
3 changed files with 3 additions and 3 deletions

View File

@ -9432,7 +9432,7 @@
if (Conf['Updater and Stats in Header']) {
Header.rmShortcut(this.dialog);
} else {
$.rm(d.body, sc);
$.rm(this.dialog);
}
clearTimeout(this.timeout);
delete this.timeout;

View File

@ -9447,7 +9447,7 @@
if (Conf['Updater and Stats in Header']) {
Header.rmShortcut(this.dialog);
} else {
$.rm(d.body, sc);
$.rm(this.dialog);
}
clearTimeout(this.timeout);
delete this.timeout;

View File

@ -40,7 +40,7 @@ ThreadStats =
if Conf['Updater and Stats in Header']
Header.rmShortcut @dialog
else
$.rm d.body, sc
$.rm @dialog
clearTimeout @timeout # a possible race condition might be that this won't clear in time, but the resulting error will prevent issues anyways.