Files
node/lib
Anna Henningsen c45313b3ad worker: perform initial port.unref() before preload modules
The refcount of the internal communication port is relevant for
stdio, but the `port.unref()` call effectively resets any `.ref()`
calls happening during stdio operations happening before it.

Therefore, do the `.unref()` call before loading preload modules,
which may cause stdio operations.

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

PR-URL: https://github.com/nodejs/node/pull/33455
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
2020-05-21 17:50:04 -07:00
..
2020-02-18 22:15:50 -08:00
2019-12-17 08:11:13 -05:00
2020-05-09 08:04:10 +02:00
2020-05-16 06:42:16 +02:00
2020-05-16 06:42:16 +02:00
…
2020-05-16 06:42:16 +02:00
2020-03-09 12:44:16 +01:00
2020-04-28 19:10:26 +02:00
2020-05-20 17:05:06 +02:00
2020-05-20 17:31:47 +02:00
…
…
2020-04-14 13:54:21 +08:00
…
2019-12-11 16:38:06 -06:00
2020-05-16 06:42:16 +02:00
2020-05-16 06:42:16 +02:00
2020-05-16 06:42:16 +02:00