Remove the BroFile cache

GH-375
This commit is contained in:
Johanna Amann 2019-06-26 15:03:45 -07:00
parent f810de11fa
commit 5052dc03fc
14 changed files with 49 additions and 319 deletions

View file

@ -372,7 +372,7 @@ void termination_signal()
// Close files after net_delete(), because net_delete()
// might write to connection content files.
BroFile::CloseCachedFiles();
BroFile::CloseOpenFiles();
delete rule_matcher;
@ -1126,7 +1126,7 @@ int main(int argc, char** argv)
// Close files after net_delete(), because net_delete()
// might write to connection content files.
BroFile::CloseCachedFiles();
BroFile::CloseOpenFiles();
}
else
{