ext/libuv/src/unix/loop.c in libuv-1.0.0 vs ext/libuv/src/unix/loop.c in libuv-1.0.2

- old
+ new

@@ -87,11 +87,13 @@ } void uv_loop_delete(uv_loop_t* loop) { uv_loop_t* default_loop; + int err; default_loop = default_loop_ptr; - assert(uv_loop_close(loop) == 0); + err = uv_loop_close(loop); + assert(err == 0); if (loop != default_loop) free(loop); }