mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
main: destroy event_registry after iosource_mgr
Fixes use-after-free bugs because PcapSource::Close() queues an event.
This commit is contained in:
parent
b60cccc637
commit
56e8a5f116
1 changed files with 1 additions and 1 deletions
|
@ -298,11 +298,11 @@ void terminate_bro()
|
|||
plugin_mgr->FinishPlugins();
|
||||
|
||||
delete zeekygen_mgr;
|
||||
delete event_registry;
|
||||
delete analyzer_mgr;
|
||||
delete file_mgr;
|
||||
// broker_mgr, timer_mgr, and supervisor are deleted via iosource_mgr
|
||||
delete iosource_mgr;
|
||||
delete event_registry;
|
||||
delete log_mgr;
|
||||
delete reporter;
|
||||
delete plugin_mgr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue