Improve file analysis manager shutdown/cleanup.

file_analysis::Manager's dtor now doesn't assume any more analysis
progress can be made because too many of Bro's other subsystems
are shutdown by that point.  Any file analysis requests made after
Terminate cannot be reliably processed.
This commit is contained in:
Jon Siwek 2014-04-29 12:44:53 -05:00
parent b029d18336
commit 4b059ea15a
2 changed files with 22 additions and 2 deletions

View file

@ -379,10 +379,10 @@ void terminate_bro()
delete secondary_path;
delete remote_serializer;
delete analyzer_mgr;
delete file_mgr;
delete log_mgr;
delete plugin_mgr;
delete thread_mgr;
delete file_mgr;
delete reporter;
reporter = 0;