]> git.ipfire.org Git - thirdparty/bind9.git/commit
Delay kserver cleanup until all tasks finishes
authorPetr Mensik <pemensik@redhat.com>
Fri, 27 Mar 2020 20:03:40 +0000 (21:03 +0100)
committerOndřej Surý <ondrej@isc.org>
Thu, 4 Jun 2020 09:35:07 +0000 (11:35 +0200)
commitd33aef43debf9e9737bdcb2956ed5cd487e88ec7
tree77766f1e1a0fd1d87dcb637bb4d0daedbf6acf53
parentded53d8762c8c5cabb70fdc36b3e6baa65c62ce8
Delay kserver cleanup until all tasks finishes

It might be possible some pending task would run when kserver is already
cleaned up. Postpone gsstsig structures cleanup after task and timer
managers are destroyed. No pending threads are possible after it.

Make action in maybeshutdown only if doshutdown was not already called.
Might be called from getinput event.

(cherry picked from commit 2685e69be8dd6c9f81f3aebfffaaf95ba91e8934)
bin/nsupdate/nsupdate.c