Files
node/test/parallel
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-05-20 17:05:06 +02:00
2020-05-14 12:39:23 -05:00
2020-03-30 10:18:58 +02:00
2020-03-30 10:18:58 +02:00
2020-03-18 16:37:20 -07:00
2020-02-09 13:36:39 +01:00
2020-04-06 01:53:54 +02:00
2020-04-06 01:53:54 +02:00
2020-03-19 10:56:45 +01:00