mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00
Add trigger_mgr to iosource_mgr later during startup
This fixes a potential crash due to trigger_mgr getting shutdown earlier than dns_mgr, and dns_mgr then trying to use it after it's been deleted. This change forces the order of initialization/destruction in iosource_mgr to cause dns_mgr to be deleted first.
This commit is contained in:
parent
117d25dcd8
commit
b26f4a83b3
3 changed files with 8 additions and 3 deletions
|
@ -884,8 +884,7 @@ SetupResult setup(int argc, char** argv, Options* zopts)
|
|||
analyzer_mgr->InitPostScript();
|
||||
file_mgr->InitPostScript();
|
||||
dns_mgr->InitPostScript();
|
||||
|
||||
// dns_mgr->LookupAddr("17.253.144.10");
|
||||
trigger_mgr->InitPostScript();
|
||||
|
||||
#ifdef USE_PERFTOOLS_DEBUG
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue