Files
node/lib
Anna Henningsen 43e5478e2f domain: use strong reference to domain while active
When an uncaught exception is thrown inside a domain, the domain is
removed from the stack as of 43a5170858.
This means that it might not be kept alive as an object anymore,
and may be garbage collected before the `after()` hook can run,
which tries to exit it as well.

Resolve that by making references to the domain strong while it is
active.

Fixes: https://github.com/nodejs/node/issues/28275

PR-URL: https://github.com/nodejs/node/pull/28313
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2019-07-24 20:40:42 -07:00
..
2019-07-18 20:58:54 -07:00
2019-06-25 14:46:10 -07:00
2019-07-15 00:04:50 +02:00
2019-04-30 06:37:55 -07:00
2019-06-10 09:14:13 -07:00
2018-11-20 10:42:31 -08:00
2018-07-16 15:55:15 -07:00
2019-07-17 20:59:12 -07:00
2019-04-29 20:46:53 +08:00