Don't call uv_close() on unknown handles

pull/1/head
Andri Yngvason 2019-12-27 13:53:36 +00:00
parent 5c7f941481
commit 9adac0e683
1 changed files with 0 additions and 1 deletions

View File

@ -273,7 +273,6 @@ void prepare_for_poll(uv_prepare_t* handle)
void on_uv_walk(uv_handle_t* handle, void* arg) void on_uv_walk(uv_handle_t* handle, void* arg)
{ {
uv_unref(handle); uv_unref(handle);
uv_close(handle, NULL);
} }
void wayvnc_exit(void) void wayvnc_exit(void)