mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +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);
|
UNUSED(task);
|
||||||
|
|
||||||
if (listener->controls->shuttingdown) {
|
if (listener->controls->shuttingdown) {
|
||||||
isc_nmhandle_detach(&conn->cmdhandle);
|
|
||||||
conn_cleanup(conn);
|
conn_cleanup(conn);
|
||||||
|
isc_nmhandle_detach(&conn->cmdhandle);
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user