зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1530489 - Checking VRGPUParent is available before closing it. r=kip
Differential Revision: https://phabricator.services.mozilla.com/D21064 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
78443da2a5
Коммит
f915776a15
|
@ -98,7 +98,7 @@ void VRParent::ActorDestroy(ActorDestroyReason aWhy) {
|
|||
NS_WARNING("Shutting down VR process early due to a crash!");
|
||||
ProcessChild::QuickExit();
|
||||
}
|
||||
if (!mVRGPUParent->IsClosed()) {
|
||||
if (mVRGPUParent && !mVRGPUParent->IsClosed()) {
|
||||
mVRGPUParent->Close();
|
||||
}
|
||||
mVRGPUParent = nullptr;
|
||||
|
|
Загрузка…
Ссылка в новой задаче