mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
Fix file analysis events from coming after bro_done().
BIT-1256 #close
This commit is contained in:
parent
e5bd113286
commit
17d60ea8ac
3 changed files with 10 additions and 2 deletions
|
@ -341,6 +341,10 @@ void terminate_bro()
|
|||
|
||||
terminating = true;
|
||||
|
||||
// File analysis termination may produce events, so do it early on in
|
||||
// the termination process.
|
||||
file_mgr->Terminate();
|
||||
|
||||
brofiler.WriteStats();
|
||||
|
||||
EventHandlerPtr bro_done = internal_handler("bro_done");
|
||||
|
@ -365,7 +369,6 @@ void terminate_bro()
|
|||
|
||||
mgr.Drain();
|
||||
|
||||
file_mgr->Terminate();
|
||||
log_mgr->Terminate();
|
||||
input_mgr->Terminate();
|
||||
thread_mgr->Terminate();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue