commit | 048368ef6fb5528982238c19dd5b164457336657 | [log] [tgz] |
---|---|---|
author | jenny-cheung <ryancaiant@gmail.com> | Sun Jul 18 16:40:57 2021 +0800 |
committer | Willy Tarreau <w@1wt.eu> | Tue Jul 20 16:38:23 2021 +0200 |
tree | 6047905d2a275789a93dd9f9e2a5f09a0f4c236a | |
parent | b73f653d00edb0128be73fbd9b8e7bc93373704d [diff] |
MINOR: deinit: always deinit the init_mutex on failed initialization The init_mutex was not unlocked in case an error is encountered during a thread initialization, and the polling loop was aborted during startup. In practise it does not have any observable effect since an explicit exit() is placed there, but it could confuse some debugging tools or some static analysers, so let's release it as expected. This addresses issue #1326.