Closed AdrianEddy closed 4 years ago
Looks like us_timer_ext in libuv.c returns pointer to uv_timer_t instead of a pointer past uv_timer_t, to actual ext data
I ran into issues using timers with libuv on windows and changing the us_timer_ext code to:
void *us_timer_ext(struct us_timer_t *timer) { return ((char *) timer) + sizeof(struct us_internal_callback_t) + sizeof(uv_timer_t); }
fixed the issue
Fixed, thanks
Looks like us_timer_ext in libuv.c returns pointer to uv_timer_t instead of a pointer past uv_timer_t, to actual ext data
I ran into issues using timers with libuv on windows and changing the us_timer_ext code to:
fixed the issue