swebb2066 commented on PR #336: URL: https://github.com/apache/logging-log4cxx/pull/336#issuecomment-1907197776
> done something like: > callAppenders(event, this->pool); > Yes. That was my initial commit to #333. However, I later realized that was an error as the additions to the pool in `callAppenders `need to be freed after `callAppenders `return. So the separate pool is needed to prevent unbounded memory growth in the long lived poll held by the `Hierarchy `object. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@logging.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org