mirror of
https://github.com/pockethost/pockethost.git
synced 2025-03-30 15:08:30 +00:00
fix: clear timeout
This commit is contained in:
parent
778405bb22
commit
06528c7d55
@ -39,5 +39,8 @@ export const safeCatch = <TIn extends any[], TOut>(
|
||||
}
|
||||
throw e
|
||||
})
|
||||
.finally(() => {
|
||||
clearTimeout(tid)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user