Commit f4c06daf authored by Bob Halley's avatar Bob Halley
Browse files

cancel i/o before detaching from socket

parent 1c7ac6d8
......@@ -248,6 +248,7 @@ ns_interface_destroy(ns_interface_t **ifpret) {
ISC_LIST_UNLINK(ifp->mgr->interfaces, ifp, link);
isc_socket_cancel(ifp->udpsocket, NULL, ISC_SOCKCANCEL_ALL);
if (ifp->tcpsocket != NULL) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment