mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Fix broker data stores in absence of --enable-debug.
Oops, put too much inside the assert() macro, so the registering of data stores got preprocessed out of optimized builds.
This commit is contained in:
parent
867c4379ea
commit
cb5902d1ad
5 changed files with 18 additions and 5 deletions
|
@ -1038,6 +1038,7 @@ bool bro_broker::Manager::CloseStore(const broker::store::identifier& id,
|
|||
delete it->second->store;
|
||||
it->second->store = nullptr;
|
||||
Unref(it->second);
|
||||
data_stores.erase(it);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue