src: release context frame in AsyncWrap::EmitDestroy · nodejs/node@975dafb · GitHub
Skip to content

Commit 975dafb

Browse files
Flarnaaduh95
authored andcommitted
src: release context frame in AsyncWrap::EmitDestroy
Release the async context frame in AsyncWrap::EmitDestroy to allow gc to collect it. This is in special relevant for reused resources like HTTPParser otherwise they might keep ALS stores alive. PR-URL: #61995 Fixes: #61882 Refs: #48528 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
1 parent 09191ad commit 975dafb

2 files changed

Lines changed: 46 additions & 3 deletions

File tree

src/async_wrap.cc

Lines changed: 17 additions & 3 deletions
Lines changed: 29 additions & 0 deletions

0 commit comments

Comments
 (0)