Remove uv_cancel for DNS requests.
This commit is contained in:
parent
ba910a46ba
commit
d7795ca990
2 changed files with 3 additions and 13 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue