mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 09:38:19 +00:00
Merge remote-tracking branch 'origin/topic/robin/log-threads' into topic/bernhard/log-threads
This commit is contained in:
commit
8a6dfee00c
36 changed files with 414 additions and 304 deletions
|
@ -1165,6 +1165,15 @@ bool Manager::Flush(EnumVal* id)
|
|||
return true;
|
||||
}
|
||||
|
||||
void Manager::Terminate()
|
||||
{
|
||||
for ( vector<Stream *>::iterator s = streams.begin(); s != streams.end(); ++s )
|
||||
{
|
||||
if ( *s )
|
||||
Flush((*s)->id);
|
||||
}
|
||||
}
|
||||
|
||||
void Manager::Error(WriterFrontend* writer, const char* msg)
|
||||
{
|
||||
reporter->Error("error with writer for %s: %s",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue