Fixes a regression from #2037 (closed) 8471d5cc where the module re-walk hits a deadlock lock order violation if logging is enabled.
Fixes #2934 (closed)
Fixes a regression from #2037 (closed) 8471d5cc where the module re-walk hits a deadlock lock order violation if logging is enabled.
Fixes #2934 (closed)