Clean up triggers awaiting global state modification at shutdown

Otherwise they can be reported as memory leaks since no more global
state modifications will take place to notify the trigger to clean
itself up.
This commit is contained in:
Jon Siwek 2019-12-30 14:04:19 -08:00
parent 5e73949327
commit 9e494452f1
5 changed files with 49 additions and 0 deletions

View file

@ -343,6 +343,7 @@ void terminate_bro()
mgr.Drain();
notifier::registry.Terminate();
log_mgr->Terminate();
input_mgr->Terminate();
thread_mgr->Terminate();