node/test/addons/async-resource
Anna Henningsen 342dbff852 src: make AsyncResource destructor virtual
`AsyncResource` is intended to be a base class, and since we don’t
know what API consumers will do with it in their own code,
it’s good practice to make its destructor virtual.

This should not be ABI-breaking since all class methods are inline.

PR-URL: https://github.com/nodejs/node/pull/20633
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
2018-08-16 11:38:51 +10:00
..
binding.cc src: make AsyncResource destructor virtual 2018-08-16 11:38:51 +10:00
binding.gyp test: add AsyncResource addon test 2017-05-28 07:03:40 -07:00
test.js src: make AsyncResource destructor virtual 2018-08-16 11:38:51 +10:00