tmct opened a new pull request, #222: URL: https://github.com/apache/logging-log4net/pull/222
Hello, We have been witnessing this error now and again while using log4net 2.0.15: ``` Collection was modified; enumeration operation may not execute. at log4net.Appender.AppenderCollection.Enumerator.MoveNext() at log4net.Util.AppenderAttachedImpl.RemoveAllAppenders() at log4net.Repository.Hierarchy.Logger.RemoveAllAppenders() at log4net.Repository.Hierarchy.Hierarchy.Shutdown() at log4net.Core.LoggerManager.Shutdown() at log4net.LogManager.Shutdown() ``` It looks like the code on master is still susceptible to this, what do you think of this change? (The try-catch should be wel-equipped to handle appenders that have left the List, so long as we can still access their name for the error message...) Thanks, Tom -- 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