mirror of
https://github.com/pockethost/pockethost.git
synced 2026-03-06 09:01:26 +00:00
fix: clear timeout
This commit is contained in:
@@ -39,5 +39,8 @@ export const safeCatch = <TIn extends any[], TOut>(
|
||||
}
|
||||
throw e
|
||||
})
|
||||
.finally(() => {
|
||||
clearTimeout(tid)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user