Commit 412d59d0 authored by Jason Madden's avatar Jason Madden

Hmm, why is test__core giving fits on py38/libuv/travis? Can't reproduce locally.

parent 0a45f740
...@@ -11,6 +11,7 @@ environment: ...@@ -11,6 +11,7 @@ environment:
# too often we get failures to resolve DNS names or failures # too often we get failures to resolve DNS names or failures
# to connect on AppVeyor. # to connect on AppVeyor.
GEVENTTEST_USE_RESOURCES: "-network" GEVENTTEST_USE_RESOURCES: "-network"
PYTHONTRACEMALLOC: 10
matrix: matrix:
......
...@@ -150,32 +150,34 @@ static void _gevent_fs_poll_callback3(void* handlep, int status, const uv_stat_t ...@@ -150,32 +150,34 @@ static void _gevent_fs_poll_callback3(void* handlep, int status, const uv_stat_t
static void gevent_uv_walk_callback_close(uv_handle_t* handle, void* arg) static void gevent_uv_walk_callback_close(uv_handle_t* handle, void* arg)
{ {
if( handle && !uv_is_closing(handle) ) { if( handle && !uv_is_closing(handle) ) {
uv_close(handle, NULL); uv_close(handle, NULL);
} }
} }
static void gevent_close_all_handles(uv_loop_t* loop) static void gevent_close_all_handles(uv_loop_t* loop)
{ {
if (loop) {
uv_walk(loop, gevent_uv_walk_callback_close, NULL); uv_walk(loop, gevent_uv_walk_callback_close, NULL);
}
} }
static void gevent_zero_timer(uv_timer_t* handle) static void gevent_zero_timer(uv_timer_t* handle)
{ {
memset(handle, 0, sizeof(uv_timer_t)); memset(handle, 0, sizeof(uv_timer_t));
} }
static void gevent_zero_check(uv_check_t* handle) static void gevent_zero_check(uv_check_t* handle)
{ {
memset(handle, 0, sizeof(uv_check_t)); memset(handle, 0, sizeof(uv_check_t));
} }
static void gevent_zero_prepare(uv_prepare_t* handle) static void gevent_zero_prepare(uv_prepare_t* handle)
{ {
memset(handle, 0, sizeof(uv_prepare_t)); memset(handle, 0, sizeof(uv_prepare_t));
} }
static void gevent_zero_loop(uv_loop_t* handle) static void gevent_zero_loop(uv_loop_t* handle)
{ {
memset(handle, 0, sizeof(uv_loop_t)); memset(handle, 0, sizeof(uv_loop_t));
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment