rm5248 opened a new pull request #55: URL: https://github.com/apache/logging-log4cxx/pull/55
By turning the `LogManager::repositorySelector` into a std::shared_ptr as part of the smart pointer conversion, it is now possible to know when the `LogManager::repositorySelector` is valid or not by configuring the loggers to use a weak reference to the `RepositorySelector` instead of a raw pointer. This also adds a test that runs multiple threads, and a random thread will then call `std::exit` to force a (semi-abnormal) shutdown. It is possible that log messages are lost because of this, but fixing that probably requires some more invasive changes. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
