commit | 032e700e8bd1cd947d1cb7028b0dda102419cbdd | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Apr 27 17:50:53 2022 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Apr 27 17:50:53 2022 +0200 |
tree | 3933ea6a3c5ca00ad5ab35d71414cbd1e0612f6b | |
parent | 10243938db38044a2977eedf806c79412fd8c9a4 [diff] |
CLEANUP: errors: also call deinit_errors_buffers() on deinit() Tim reported in issue #1676 that we don't release startup logs if we warn during startup and quit before creating threads (e.g. -c -f ...). Let's subscribe deinit_errors_buffers() to both thread's end and deinit. That's OK since it uses both per-thread and global variables, and is idempotent.