mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-13 01:52:50 -05:00
Remove uv_cancel for DNS requests.
This commit is contained in:
@@ -76,17 +76,6 @@ inline void Handle::close(uv_signal_t *handle)
|
||||
}
|
||||
|
||||
|
||||
template<>
|
||||
inline void Handle::close(uv_getaddrinfo_t *handle)
|
||||
{
|
||||
if (handle) {
|
||||
uv_cancel(reinterpret_cast<uv_req_t *>(handle));
|
||||
|
||||
delete handle;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
template<>
|
||||
inline void Handle::close(uv_fs_event_t *handle)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user