dpjayasekara
11/25/2017 - 2:11 PM

uv__loop_alive.c

static int uv__loop_alive(const uv_loop_t* loop) {
  return uv__has_active_handles(loop) ||
         uv__has_active_reqs(loop) ||
         loop->closing_handles != NULL;
}