Fix: ReconfigExistingLoggers sometimes throws an Exception #2228 (#2229)
Fix: ReconfigExistingLoggers sometimes throws an Exception #2228 (#2229)

* Simplified assignment of loggerReferences list in LoggerCache.GetLoggers()

* Added retrieval of loggerCache.Loggers to locked context within ReconfigExistingLoggers()

* Removed deprecated comment in LoggerCache.GetLoggers()

* Simplified iteration and removed redundant list creation in LoggerCache.GetLoggers()

nazim9214/NLog,UgurAldanmaz/NLog,NLog/NLog,UgurAldanmaz/NLog,BrutalCode/NLog,ie-zero/NLog,luigiberrettini/NLog,sean-gilliam/NLog,nazim9214/NLog,304NotModified/NLog,hubo0831/NLog,ie-zero/NLog,hubo0831/NLog,luigiberrettini/NLog,snakefoot/NLog,BrutalCode/NLog