node/test/addons/async-resource
Anna Henningsen 00f395db45
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-05-14 18:18:16 +02:00
..
binding.cc src: make `AsyncResource` destructor virtual 2018-05-14 18:18:16 +02:00
binding.gyp test: add AsyncResource addon test 2017-05-27 11:53:02 +02:00
test.js src: make `AsyncResource` destructor virtual 2018-05-14 18:18:16 +02:00