diff --git a/src/zeek-setup.cc b/src/zeek-setup.cc index e9255c4f01..f682d39118 100644 --- a/src/zeek-setup.cc +++ b/src/zeek-setup.cc @@ -829,11 +829,11 @@ SetupResult setup(int argc, char** argv, Options* zopts) // Broker is still accessing OpenSSL but OpenSSL has already cleaned up // its state due to calling exit(). auto early_shutdown = [] - { + { broker_mgr->Terminate(); delete iosource_mgr; delete telemetry_mgr; - }; + }; if ( options.print_plugins ) {