mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 05:57:52 +00:00
Cleanup connection before detaching
This commit is contained in:
parent
e24d73b9b3
commit
c5c2a4820b
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user