fixup! convert dig/host/nslookup to use the netmgr

This commit is contained in:
Evan Hunt
2020-10-06 12:02:47 -07:00
parent 569cf55243
commit 1fa4db11d6
+2 -3
View File
@@ -915,9 +915,8 @@ flush_lookup_list(void) {
while (l != NULL) {
q = ISC_LIST_HEAD(l->q);
while (q != NULL) {
if (q->handle != NULL) {
isc_nm_cancelread(q->handle);
isc_nmhandle_detach(&q->handle);
if (q->readhandle != NULL) {
isc_nmhandle_detach(&q->readhandle);
}
qp = q;
q = ISC_LIST_NEXT(q, link);