зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1711545 p2: Don't uninitialize COM in gfxWindowsPlatform when win32k is locked down. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D121730
This commit is contained in:
Родитель
db40ab9d67
Коммит
f8a38951a3
|
@ -307,10 +307,13 @@ gfxWindowsPlatform::~gfxWindowsPlatform() {
|
|||
|
||||
DeviceManagerDx::Shutdown();
|
||||
|
||||
/*
|
||||
* Uninitialize COM
|
||||
*/
|
||||
CoUninitialize();
|
||||
// We don't initialize COM when win32k is locked down.
|
||||
if (!IsWin32kLockedDown()) {
|
||||
/*
|
||||
* Uninitialize COM
|
||||
*/
|
||||
CoUninitialize();
|
||||
}
|
||||
}
|
||||
|
||||
/* static */
|
||||
|
|
Загрузка…
Ссылка в новой задаче