-
Will Harris authored
It is not safe to make these calls from DLLMain as they might require the delay load resolver to execute within the loader lock. See https://docs.microsoft.com/en-us/windows/win32/dlls/dynamic-link-library-best-practices "Recommendations: Verify that no calls depend on another DLL that may not have been fully loaded yet." BUG=1110400 Change-Id: I5f582d98a31065a31b90fac09e42b4dffa4302fb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2324494Reviewed-by:
Yusuf Sengul <yusufsn@google.com> Commit-Queue: Will Harris <wfh@chromium.org> Cr-Commit-Position: refs/heads/master@{#792442}
b042343a