Files
node/test/parallel
Anna Henningsen a96a8468d6 worker: correct (de)initialization order
- Initialize `thread_exit_async_` only once the thread has been
  started. This is done since it is only triggered from the
  thread when it is exiting.
- Move the final `uv_run` to the `Worker` destructor.
  This makes sure that it is always run, regardless of whether
  the thread is actually started or not.
- Always dispose the `Isolate` before cleaning up the libuv event
  loop. This now matches the reverse order of initialization.

Fixes: https://github.com/nodejs/node/issues/22736
PR-URL: https://github.com/nodejs/node/pull/22773
Reviewed-By: James M Snell <jasnell@gmail.com>
2018-09-20 07:41:47 +02:00
..
2018-09-20 07:41:15 +02:00
2018-06-28 20:41:09 +02:00
2018-09-11 20:40:40 +02:00
2018-09-11 20:40:40 +02:00