Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(userspace/engine): free formatters, if any
Previously, formatters were freed by LUA code when re-opening outputs. Since now, outputs are not controlling anymore the falco_formats class (see #1412), we just free formatters only if were already initialized. That is needed when the engine restarts (see #1446). By doing so, we also ensure that correct inspector instance is set to the formatter cache. Signed-off-by: Leonardo Grasso <[email protected]>
- Loading branch information