mirror of
https://github.com/overte-org/overte.git
synced 2025-07-23 09:43:51 +02:00
Clear timer value when timer stopped
This commit is contained in:
parent
d7a4396daa
commit
26672b475f
1 changed files with 4 additions and 2 deletions
|
@ -85,8 +85,9 @@
|
||||||
|
|
||||||
log("Create recording entity for " + filename);
|
log("Create recording entity for " + filename);
|
||||||
|
|
||||||
if (updateTimestampTimer !== null) {
|
if (updateTimestampTimer !== null) { // Just in case.
|
||||||
Script.clearInterval(updateTimestampTimer); // Just in case.
|
Script.clearInterval(updateTimestampTimer);
|
||||||
|
updateTimestampTimer = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
searchState = SEARCH_IDLE;
|
searchState = SEARCH_IDLE;
|
||||||
|
@ -234,6 +235,7 @@
|
||||||
}
|
}
|
||||||
if (updateTimestampTimer !== null) { // Just in case.
|
if (updateTimestampTimer !== null) { // Just in case.
|
||||||
Script.clearInterval(updateTimestampTimer);
|
Script.clearInterval(updateTimestampTimer);
|
||||||
|
updateTimestampTimer = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue