This is an automated email from the ASF dual-hosted git repository.
bneradt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new b080c8386c Release logging thread continuations (#13466)
b080c8386c is described below
commit b080c8386cf5a10a5cada3ffef7f4b0d08c4861a
Author: Brian Neradt <[email protected]>
AuthorDate: Fri Jul 31 17:04:45 2026 -0500
Release logging thread continuations (#13466)
Dedicated logging continuations remain allocated after their worker
loops return during shutdown. Once shutdown reliably completes,
LeakSanitizer can report the flush continuation as an 80-byte leak.
Release both continuations after their loops finish. This matches the
ownership model used by other dedicated event threads.
---
src/proxy/logging/Log.cc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/proxy/logging/Log.cc b/src/proxy/logging/Log.cc
index 96b7a56798..2bcaba9815 100644
--- a/src/proxy/logging/Log.cc
+++ b/src/proxy/logging/Log.cc
@@ -277,6 +277,7 @@ struct LoggingPreprocContinuation : public Continuation {
mainEvent(int /* event ATS_UNUSED */, void * /* data ATS_UNUSED */)
{
Log::preproc_thread_main((void *)&m_idx);
+ delete this;
return 0;
}
@@ -293,6 +294,7 @@ struct LoggingFlushContinuation : public Continuation {
mainEvent(int /* event ATS_UNUSED */, void * /* data ATS_UNUSED */)
{
Log::flush_thread_main((void *)&m_idx);
+ delete this;
return 0;
}