mirror of
https://github.com/pockethost/pockethost.git
synced 2025-07-09 06:12:31 +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
|
throw e
|
||||||
})
|
})
|
||||||
|
.finally(() => {
|
||||||
|
clearTimeout(tid)
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user