Commit 64d22c32 authored by Denys Otrishko's avatar Denys Otrishko Committed by Robert Nagy
Browse files

timers: fix multipleResolves in promisified timeouts/immediates



After successful timer finish the abort event callback would still
reject (already resolved promise) upon calling abortController.abort().

Signed-off-by: default avatarDenys Otrishko <shishugi@gmail.com>

PR-URL: https://github.com/nodejs/node/pull/33949


Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarBenjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
parent 51a2df44
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment