зеркало из https://github.com/mozilla/gecko-dev.git
Fix UI process not properly waiting for the GPU process to finish launching. (bug 1314127, r=rhunt)
This commit is contained in:
Родитель
e7c126d7a0
Коммит
223ed063da
|
@ -148,7 +148,7 @@ GPUProcessManager::DisableGPUProcess(const char* aMessage)
|
|||
void
|
||||
GPUProcessManager::EnsureGPUReady()
|
||||
{
|
||||
if (mProcess && mProcess->IsConnected()) {
|
||||
if (mProcess && !mProcess->IsConnected()) {
|
||||
if (!mProcess->WaitForLaunch()) {
|
||||
// If this fails, we should have fired OnProcessLaunchComplete and
|
||||
// removed the process.
|
||||
|
|
Загрузка…
Ссылка в новой задаче