ext/libuv/src/unix/loop.c in libuv-3.2.2 vs ext/libuv/src/unix/loop.c in libuv-3.2.3

- old
+ new

@@ -29,11 +29,10 @@ int uv_loop_init(uv_loop_t* loop) { void* saved_data; int err; - uv__signal_global_once_init(); saved_data = loop->data; memset(loop, 0, sizeof(*loop)); loop->data = saved_data; @@ -66,9 +65,10 @@ err = uv__platform_loop_init(loop); if (err) return err; + uv__signal_global_once_init(); err = uv_signal_init(loop, &loop->child_watcher); if (err) goto fail_signal_init; uv__handle_unref(&loop->child_watcher);