mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
cancel i/o before detaching from socket
This commit is contained in:
parent
1c7ac6d8f5
commit
f4c06dafd5
@ -248,6 +248,7 @@ ns_interface_destroy(ns_interface_t **ifpret) {
|
||||
ISC_LIST_UNLINK(ifp->mgr->interfaces, ifp, link);
|
||||
|
||||
dns_dispatch_detach(&ifp->udpdispatch);
|
||||
isc_socket_cancel(ifp->udpsocket, NULL, ISC_SOCKCANCEL_ALL);
|
||||
isc_socket_detach(&ifp->udpsocket);
|
||||
|
||||
if (ifp->tcpsocket != NULL) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user