зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1788859 - Suppress stack-walking while calling LdrLoadDll in WindowsDllBlocklist.cpp - r=florian
Stack-walking during some Windows API calls result in deadlocks, see details in StackWalk.cpp. Differential Revision: https://phabricator.services.mozilla.com/D156276
This commit is contained in:
Родитель
c120b26734
Коммит
07befb3f1c
|
@ -525,7 +525,12 @@ continue_loading:
|
|||
NTSTATUS ret;
|
||||
HANDLE myHandle;
|
||||
|
||||
{
|
||||
#if defined(_M_AMD64) || defined(_M_ARM64)
|
||||
AutoSuppressStackWalking suppress;
|
||||
#endif
|
||||
ret = stub_LdrLoadDll(filePath, flags, moduleFileName, &myHandle);
|
||||
}
|
||||
|
||||
if (handle) {
|
||||
*handle = myHandle;
|
||||
|
|
Загрузка…
Ссылка в новой задаче