mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Immediately apply broker subscriptions made during bro_init()
Otherwise that's begging for unit test failures due to races
This commit is contained in:
parent
083947af41
commit
67524f26d5
7 changed files with 24 additions and 5 deletions
|
@ -1182,6 +1182,7 @@ int main(int argc, char** argv)
|
|||
// Drain the event queue here to support the protocols framework configuring DPM
|
||||
mgr.Drain();
|
||||
|
||||
broker_mgr->BroInitDone();
|
||||
analyzer_mgr->DumpDebug();
|
||||
|
||||
have_pending_timers = ! reading_traces && timer_mgr->Size() > 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue