Subject: libuv: Fix closing handle multiple times
authorPetar Paradzik <petar.paradzik@sartura.hr>
Fri, 19 May 2017 12:41:03 +0000 (14:41 +0200)
committerAndy Green <andy@warmcat.com>
Tue, 23 May 2017 15:49:14 +0000 (23:49 +0800)
commit3ec32b1762e4d989fbb1ba84707774e829aaae9e
tree229890bed6336f0faf4d3e1757e1022fe5e92c4e
parent49769a7c24b9f3c79418611ba832ca69f43ab342
Subject: libuv: Fix closing handle multiple times

Sometimes "Assertion failed: !uv__is_closing(handle)" happens because
handle is being closed multiple times. To fix this, "uv_is_closing"
is added before calling "uv_close".

Signed-off-by: Petar Paradzik <petar.paradzik@sartura.hr>
lib/libuv.c