commit | 1ba97dfa01b9b1a73a4a9f032138c72a8a49511c | [log] [tgz] |
---|---|---|
author | Stephen Webb <stephen.webb@ieee.org> | Sat Sep 10 12:12:11 2022 +1000 |
committer | GitHub <noreply@github.com> | Sat Sep 10 12:12:11 2022 +1000 |
tree | d9b1614058129424ce4daeeaa11fc1a8e249f796 | |
parent | 1dff96c7b194b943f69e3aca34a2615a3607da5a [diff] |
APR termination must be after destruction of all log4cxx objects (#122) * Make APR initialization/termination book-end all log4cxx object life times. As the APRInitializer class has member variables whose destructors call apr_* functions, apr_terminate() cannot be called the the APRInitializer class destructor. * Delay heirarchy destruction until other threads have exited doAppend() * Added another test for the fallback handling to ensure that multiple appenders on the same logger will not segfault if replaced while iterating. * Stop using APR on other threads once exit() has been called Co-authored-by: Robert Middleton <robert.middleton@rm5248.com>
Issues are maintained in the Apache JIRA by default, so before posting pull requests, please have a look there if an associated issue with your problem/feature/... exists already. If not, it‘s generally OK to directly create pull requests IF code is already available, but please be somewhat verbose: Provide some background information about what actual problem the PR solves, why this needs to be solved etc. Don’t just provide commits about the fact that you changed something.
If any discussion is needed before actually having any code, simply create a ticket in JIRA or send a message to the corresponding mailing list. Thanks!