src: fix abort when taking a heap snapshot · nodejs/node@6e7aa3d · GitHub
Skip to content

Commit 6e7aa3d

Browse files
bnoordhuisaddaleax
authored andcommitted
src: fix abort when taking a heap snapshot
Remove an erroneous CHECK that asserted the persistent object's internal field pointer still pointed to a valid object. If ClearWrap() has been called, the field pointer equals nullptr and that is expected behavior. PR-URL: #18898 Fixes: #18256 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Matheus Marchini <matheus@sthima.com>
1 parent 01398b2 commit 6e7aa3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/async_wrap.cc

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)