mirror of
https://github.com/lubosz/overte.git
synced 2025-04-27 07:55:55 +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);
|
||||
|
||||
if (updateTimestampTimer !== null) {
|
||||
Script.clearInterval(updateTimestampTimer); // Just in case.
|
||||
if (updateTimestampTimer !== null) { // Just in case.
|
||||
Script.clearInterval(updateTimestampTimer);
|
||||
updateTimestampTimer = null;
|
||||
}
|
||||
|
||||
searchState = SEARCH_IDLE;
|
||||
|
@ -234,6 +235,7 @@
|
|||
}
|
||||
if (updateTimestampTimer !== null) { // Just in case.
|
||||
Script.clearInterval(updateTimestampTimer);
|
||||
updateTimestampTimer = null;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue