mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
Merge remote-tracking branch 'origin/topic/timw/telemetry-threading'
* origin/topic/timw/telemetry-threading:
Process metric callbacks from the main-loop thread
(cherry picked from commit 3c3853dc7d
)
This commit is contained in:
parent
056bbe04ea
commit
dd4597865a
10 changed files with 130 additions and 11 deletions
|
@ -376,6 +376,7 @@ static void terminate_zeek() {
|
|||
input_mgr->Terminate();
|
||||
thread_mgr->Terminate();
|
||||
broker_mgr->Terminate();
|
||||
telemetry_mgr->Terminate();
|
||||
|
||||
event_mgr.Drain();
|
||||
|
||||
|
@ -716,6 +717,7 @@ SetupResult setup(int argc, char** argv, Options* zopts) {
|
|||
// when that variable is defined.
|
||||
auto early_shutdown = [] {
|
||||
broker_mgr->Terminate();
|
||||
telemetry_mgr->Terminate();
|
||||
delete iosource_mgr;
|
||||
delete telemetry_mgr;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue