Option change handler invoked after zeek_done() event #2010
Labels
Area: Scripting
good first issue
A good place to get started working with Zeek.
Type: Bug 🐛
Unexpected behavior or output.
In a package of ours we are accessing a Broker::Store handle in a change handler. We got bitten by "invalid Broker store handle" when the change handler is invoked during/after shutdown.
Chatting with @rsmmr / @ckreibich about change handlers and broker stores, there was slight surprise to hear that these are invoked after
zeek_done()
and it was suggested to open a ticket.The following reduced script shows the issue we observe.
my_option.dat
As an aside, it could be argued that the above script should just rely on option/configuration framework (agree, but it's also the reduced version). But change handlers being invoked after zeek_done() has happened still seems a vaild issue to discuss.
The text was updated successfully, but these errors were encountered: