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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user