summaryrefslogtreecommitdiff
path: root/Utilities/cmlibuv/src/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmlibuv/src/timer.c')
-rw-r--r--Utilities/cmlibuv/src/timer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Utilities/cmlibuv/src/timer.c b/Utilities/cmlibuv/src/timer.c
index 1bea2a8bd2..bc680e71a9 100644
--- a/Utilities/cmlibuv/src/timer.c
+++ b/Utilities/cmlibuv/src/timer.c
@@ -58,6 +58,7 @@ static int timer_less_than(const struct heap_node* ha,
int uv_timer_init(uv_loop_t* loop, uv_timer_t* handle) {
uv__handle_init(loop, (uv_handle_t*)handle, UV_TIMER);
handle->timer_cb = NULL;
+ handle->timeout = 0;
handle->repeat = 0;
return 0;
}