From 93d6d075a4683bc3450c7d21253f53ba471e214c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Mon, 10 Dec 2018 16:14:02 +0100 Subject: [PATCH] worker shutdown: close the leaking uv handle --- daemon/main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/daemon/main.c b/daemon/main.c index bbe10c6ec..4e3e379cf 100644 --- a/daemon/main.c +++ b/daemon/main.c @@ -461,6 +461,7 @@ static int run_worker(uv_loop_t *loop, struct engine *engine, fd_array_t *ipc_se if (sock_file) { unlink(sock_file); } + uv_close((uv_handle_t *)&pipe, NULL); /* Seems OK even on the stopped loop. */ return kr_ok(); } -- 2.47.3