Sync mute state
This commit is contained in:
parent
15247e1c9a
commit
6c0acd09df
16 changed files with 236 additions and 61 deletions
|
@ -59,10 +59,12 @@ export function onTimeout(
|
|||
}
|
||||
|
||||
export function removeTimeout(uuid: string): void {
|
||||
if (timeoutStore.has(uuid)) {
|
||||
timeoutStore.delete(uuid);
|
||||
if (!timeoutStore.has(uuid)) {
|
||||
return;
|
||||
}
|
||||
|
||||
timeoutStore.delete(uuid);
|
||||
|
||||
allTimeouts.forEach((timeout: TimeoutType) => {
|
||||
if (uuid === timeout.uuid) {
|
||||
allTimeouts.delete(timeout);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue