mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04: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:
parent
0be7ea78be
commit
4db5e30177
1 changed files with 0 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue