2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

Cleanup connection before detaching

This commit is contained in:
Mark Andrews
2020-09-17 15:18:27 +10:00
parent e24d73b9b3
commit c5c2a4820b

View File

@@ -383,8 +383,8 @@ control_command(isc_task_t *task, isc_event_t *event) {
UNUSED(task);
if (listener->controls->shuttingdown) {
isc_nmhandle_detach(&conn->cmdhandle);
conn_cleanup(conn);
isc_nmhandle_detach(&conn->cmdhandle);
goto done;
}