]> git.ipfire.org Git - thirdparty/suricata.git/commit
outputs: call plugin ThreadDeinit, not Deinit
authorJason Ish <jason.ish@oisf.net>
Wed, 1 Nov 2023 22:57:39 +0000 (16:57 -0600)
committerVictor Julien <victor@inliniac.net>
Tue, 14 Nov 2023 18:28:10 +0000 (19:28 +0100)
commit327c629253a07446294f903e88e57aa1a44be117
tree2c3b2ec2d99919daf08d22b6bb7e75eb196c74cc
parentf2b47bb0dc5e33b9ec0ed9e31e1f454c134c15e1
outputs: call plugin ThreadDeinit, not Deinit

With the change to the hash table for tracking threaded loggers, this
call is now called once per thread, so should be changed to the
ThreadDeinit, as that is not longer being called.

Then call Deinit for the primary logger. In threaded mode this would be
the parent, its just the logger in non-threaded mode.

Bug: #6438
src/util-logopenfile.c