diff options
author | Chengzhong Wu <legendecas@gmail.com> | 2022-08-31 21:47:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-31 13:47:10 +0000 |
commit | ad3c7bcb033ef98fe3452182c7e43727de069949 (patch) | |
tree | 28314fe839471907d1f9fb921265ad48627b36f2 /deps/npm/node_modules/diff/lib/patch/merge.js | |
parent | 6239aeb157a3acb384484f812314fe5c65dbd170 (diff) | |
download | node-new-ad3c7bcb033ef98fe3452182c7e43727de069949.tar.gz |
node-api: avoid calling virtual methods in base's dtor
Derived classes' fields are already destroyed if the virtual methods are
invoked in the base class's destructor. It is not safe to call virtual
methods in base's dtor.
PR-URL: https://github.com/nodejs/node/pull/44424
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
Diffstat (limited to 'deps/npm/node_modules/diff/lib/patch/merge.js')
0 files changed, 0 insertions, 0 deletions