mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Cleanup connection before detaching
This commit is contained in:
parent
e24d73b9b3
commit
c5c2a4820b
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue