Lines Matching defs:handle
35 static void TryCloseHandle(const uv_handle_t *handle, bool alwaysCallback,
39 if (handle->loop && !uv_is_closing(handle)) {
40 uv_close((uv_handle_t *)handle, closeCallBack);
44 closeCallBack((uv_handle_t *)handle);
48 static void TryCloseHandle(const uv_handle_t *handle, uv_close_cb closeCallBack)
50 TryCloseHandle(handle, false, closeCallBack);
53 static void TryCloseHandle(const uv_handle_t *handle)
55 TryCloseHandle(handle, nullptr);
73 auto clearLoopTask = [](uv_handle_t *handle, void *arg) -> void {
74 TryCloseHandle(handle);