mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 18:18:19 +00:00
low-level naming tweaks / comments / const-ified accessor
This commit is contained in:
parent
095ab178f3
commit
475063804e
3 changed files with 8 additions and 6 deletions
|
@ -281,13 +281,13 @@ static void done_with_network()
|
|||
ZEEK_LSAN_DISABLE();
|
||||
}
|
||||
|
||||
static void terminate_bro()
|
||||
static void terminate_zeek()
|
||||
{
|
||||
util::detail::set_processing_status("TERMINATING", "terminate_bro");
|
||||
util::detail::set_processing_status("TERMINATING", "terminate_zeek");
|
||||
|
||||
run_state::terminating = true;
|
||||
|
||||
iosource_mgr->Wakeup("terminate_bro");
|
||||
iosource_mgr->Wakeup("terminate_zeek");
|
||||
|
||||
// File analysis termination may produce events, so do it early on in
|
||||
// the termination process.
|
||||
|
@ -943,7 +943,7 @@ int cleanup(bool did_run_loop)
|
|||
done_with_network();
|
||||
|
||||
run_state::detail::delete_run();
|
||||
terminate_bro();
|
||||
terminate_zeek();
|
||||
|
||||
sqlite3_shutdown();
|
||||
|
||||
|
@ -974,7 +974,7 @@ void zeek_terminate_loop(const char* reason)
|
|||
zeek::detail::done_with_network();
|
||||
delete_run();
|
||||
|
||||
zeek::detail::terminate_bro();
|
||||
zeek::detail::terminate_zeek();
|
||||
|
||||
// Close files after net_delete(), because net_delete()
|
||||
// might write to connection content files.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue