Commit b0d5ca26 authored by Evan Hunt's avatar Evan Hunt Committed by Ondřej Surý
Browse files

shorten the sleep in isc_nm_destroy()

when isc_nm_destroy() is called, there's a loop that waits for
other references to be detached, pausing and unpausing the netmgr
to ensure that all the workers' events are run, followed by a
1-second sleep. this caused a delay on shutdown which will be
noticeable when netmgr is used in tools other than named itself,
so the delay has now been reduced to a hundredth of a second.

(cherry picked from commit 870204fe)
parent e9289f71
......@@ -417,9 +417,9 @@ isc_nm_destroy(isc_nm_t **mgr0) {
#ifdef WIN32
#else /* ifdef WIN32 */
#endif /* ifdef WIN32 */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment