Files
node/test/parallel
Anna Henningsen 2833a0d8b7 worker: make terminate() resolve for unref’ed Workers
Once `worker.terminate()` is called, the Worker instance will be
destroyed as soon as possible anyway, so in order to make
the Promise returned by `worker.terminate()` resolve always,
it should be okay to just call `.ref()` on it and keep the main
event loop alive temporarily.

PR-URL: https://github.com/nodejs/node/pull/29484
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
2019-09-09 22:21:37 +02:00
..
2019-06-06 19:38:34 -04:00
2019-03-23 02:55:54 +01:00
2019-03-23 02:55:54 +01:00
2019-04-16 03:37:03 +02:00
2019-03-23 02:55:54 +01:00
2019-03-23 02:55:54 +01:00
2019-08-07 13:27:55 -07:00
2019-03-23 02:55:54 +01:00
2019-03-23 02:55:54 +01:00
2019-03-23 02:55:54 +01:00
2019-08-07 13:27:55 -07:00
2019-03-23 02:55:54 +01:00
2019-06-26 16:34:23 +08:00
2019-02-28 05:20:51 +01:00
2019-04-16 03:37:03 +02:00
2019-05-02 23:22:38 +02:00
2019-03-20 07:48:25 -07:00
2019-03-20 07:48:25 -07:00
2019-03-20 07:48:25 -07:00
2019-03-20 07:48:25 -07:00
2019-03-20 07:48:25 -07:00
2019-03-20 07:48:25 -07:00