]> 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:32:33 +0000 (11:32 +0200)
commit596a0f27c4cdceb3136e360f2c0fdbed915febc7
treece3e394bdc34e60c3a8a9215e042ee9dfc64529e
parent7e4eb8ad362cc15026cfa180c1539a5dfc011af5
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