Don't call uv_close() on unknown handles
parent
5c7f941481
commit
9adac0e683
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue