mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
isc_loopmgr_pause was called inappropriately
isc_loopmgr_pause can't be called before isc_loopmgr_run is called as the thread ids are not yet valid. If there is a fatal error before isc_loopmgr_run is run then don't call isc_loopmgr_pause.
This commit is contained in:
@@ -1506,6 +1506,10 @@ main(int argc, char *argv[]) {
|
||||
*/
|
||||
isc_signal_start(named_g_server->sighup);
|
||||
|
||||
/*
|
||||
* Pause the loop manager in fatal.
|
||||
*/
|
||||
named_g_loopmgr_running = true;
|
||||
isc_loopmgr_run(named_g_loopmgr);
|
||||
|
||||
#ifdef HAVE_LIBSCF
|
||||
|
Reference in New Issue
Block a user