mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
Remove extra ev_timer_stop() in src/dns.cc
This commit is contained in:
1 parent
0486c091e1
commit
78024fa689
1 file changed
+1
-4
+1
-4
@@ -26,10 +26,7 @@ set_timeout ()
|
||||
|
||||
ev_timer_stop(EV_DEFAULT_UC_ &timer_watcher);
|
||||
|
||||
if (!dns_active(NULL)) {
|
||||
ev_timer_stop(EV_DEFAULT_UC_ &timer_watcher);
|
||||
return;
|
||||
}
|
||||
if (!dns_active(NULL)) return;
|
||||
|
||||
if (wait >= 0) {
|
||||
ev_timer_set(&timer_watcher, (double)wait, 0.0);
|
||||
|
||||
Reference in new issue
Block a user