mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 22:45:39 +00:00
Run shutdown events with the task's existing threadid
Previously, task->threadid was reassigned to 0 while shutting down, which caused an assertion.
This commit is contained in:
@@ -1020,7 +1020,6 @@ isc__taskmgr_shutdown(isc_taskmgr_t *manager) {
|
||||
{
|
||||
LOCK(&task->lock);
|
||||
if (task_shutdown(task)) {
|
||||
task->threadid = 0;
|
||||
task_ready(task);
|
||||
}
|
||||
UNLOCK(&task->lock);
|
||||
|
Reference in New Issue
Block a user