This is an automated email from the ASF dual-hosted git repository. swebb2066 pushed a commit to branch prevent_potential_async_appender_deadlock in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git
commit 223aabc15e61237d3d52fb2af5d9501cbf528d4a Author: Stephen Webb <swebb2...@gmail.com> AuthorDate: Tue Jul 15 17:19:42 2025 +1000 Prevent potential deadlock on shutdown when using AsyncAppender --- src/main/cpp/loglog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/cpp/loglog.cpp b/src/main/cpp/loglog.cpp index c5384c4d..016485c6 100644 --- a/src/main/cpp/loglog.cpp +++ b/src/main/cpp/loglog.cpp @@ -57,7 +57,8 @@ LogLog::LogLog() : m_priv->debugEnabled = OptionConverter::toBoolean(log4cxxDebug, false); } -LogLog::~LogLog(){} +LogLog::~LogLog() +{ m_priv.reset(); } LogLog& LogLog::getInstance() {