mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
Reintroducing the logging::Manager's Terminate() method.
It doesn't do anything else than simply forwarding to FlushBuffers(). This is just for consistency in terminate_bro() where components get their Terminate() called so that the main code doesn't need to know anything more specific about what particular action to take at shutdown.
This commit is contained in:
parent
639a6410c6
commit
4b86730ef2
3 changed files with 11 additions and 1 deletions
|
@ -1285,6 +1285,11 @@ void Manager::FlushBuffers()
|
|||
}
|
||||
}
|
||||
|
||||
void Manager::Terminate()
|
||||
{
|
||||
FlushBuffers();
|
||||
}
|
||||
|
||||
// Timer which on dispatching rotates the filter.
|
||||
class RotationTimer : public Timer {
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue