Fix a thread stats bug.
This commit is contained in:
parent
2a703f08a2
commit
0f0c50ca33
@ -9432,7 +9432,7 @@
|
|||||||
if (Conf['Updater and Stats in Header']) {
|
if (Conf['Updater and Stats in Header']) {
|
||||||
Header.rmShortcut(this.dialog);
|
Header.rmShortcut(this.dialog);
|
||||||
} else {
|
} else {
|
||||||
$.rm(d.body, sc);
|
$.rm(this.dialog);
|
||||||
}
|
}
|
||||||
clearTimeout(this.timeout);
|
clearTimeout(this.timeout);
|
||||||
delete this.timeout;
|
delete this.timeout;
|
||||||
|
|||||||
@ -9447,7 +9447,7 @@
|
|||||||
if (Conf['Updater and Stats in Header']) {
|
if (Conf['Updater and Stats in Header']) {
|
||||||
Header.rmShortcut(this.dialog);
|
Header.rmShortcut(this.dialog);
|
||||||
} else {
|
} else {
|
||||||
$.rm(d.body, sc);
|
$.rm(this.dialog);
|
||||||
}
|
}
|
||||||
clearTimeout(this.timeout);
|
clearTimeout(this.timeout);
|
||||||
delete this.timeout;
|
delete this.timeout;
|
||||||
|
|||||||
@ -40,7 +40,7 @@ ThreadStats =
|
|||||||
if Conf['Updater and Stats in Header']
|
if Conf['Updater and Stats in Header']
|
||||||
Header.rmShortcut @dialog
|
Header.rmShortcut @dialog
|
||||||
else
|
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.
|
clearTimeout @timeout # a possible race condition might be that this won't clear in time, but the resulting error will prevent issues anyways.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user