windows: initialize ares handles list
We need to initialize the ares handles linked list or else bad things can happen when we try to perform async lookups.
This commit is contained in:
parent
2ef5798c6f
commit
1c8cf617f9
@ -59,6 +59,7 @@ static void uv_init(void) {
|
||||
|
||||
|
||||
static void uv_loop_init(uv_loop_t* loop) {
|
||||
loop->uv_ares_handles_ = NULL;
|
||||
/* Create an I/O completion port */
|
||||
loop->iocp = CreateIoCompletionPort(INVALID_HANDLE_VALUE, NULL, 0, 1);
|
||||
if (loop->iocp == NULL) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user