Unverified Commit 41a0dfcd authored by Anna Henningsen's avatar Anna Henningsen
Browse files

src: properly manage timer in cares ChannelWrap

This fixes a bug introduced in 727b2911
where code managing the `uv_timer_t` for a `ChannelWrap` instance was
left unchanged, when it should have changed the lifetime of the handle
to being tied to the `ChannelWrap` instance’s lifetime.

Fixes: https://github.com/nodejs/node/issues/14599
Ref: https://github.com/nodejs/node/pull/14518
PR-URL: https://github.com/nodejs/node/pull/14634


Reviewed-By: default avatarRefael Ackermann <refack@gmail.com>
Reviewed-By: default avatarBen Noordhuis <info@bnoordhuis.nl>
Reviewed-By: default avatarFedor Indutny <fedor.indutny@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
Reviewed-By: default avatarKhaidi Chu <i@2333.moe>
Reviewed-By: default avatarTobias Nießen <tniessen@tnie.de>
parent daf5596c
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