mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 11:08:20 +00:00
Set terminating flag during fuzzer cleanup
This commit is contained in:
parent
d449682ff0
commit
5a2d25c954
1 changed files with 2 additions and 0 deletions
|
@ -46,6 +46,7 @@ namespace zeek {
|
|||
|
||||
void fuzz_cleanup_one_input()
|
||||
{
|
||||
terminating = true;
|
||||
broker_mgr->ClearStores();
|
||||
file_mgr->Terminate();
|
||||
timer_mgr->Expire();
|
||||
|
@ -54,6 +55,7 @@ void fuzz_cleanup_one_input()
|
|||
sessions->Drain();
|
||||
mgr.Drain();
|
||||
sessions->Clear();
|
||||
terminating = false;
|
||||
}
|
||||
|
||||
} // namespace zeek
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue