Fix shutdown crash in VsyncBridgeChild when the GPU process is enabled. (bug 1314816, r=mattwoodrow)

This commit is contained in:
David Anderson
2016-11-02 16:45:38 -07:00
parent 50f0f316fd
commit 1cfa631b64
2 changed files with 11 additions and 2 deletions

View File

@@ -397,7 +397,10 @@ GPUProcessManager::DestroyProcess()
mProcessToken = 0;
mProcess = nullptr;
mGPUChild = nullptr;
mVsyncBridge = nullptr;
if (mVsyncBridge) {
mVsyncBridge->Close();
mVsyncBridge = nullptr;
}
}
RefPtr<CompositorSession>