зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1349699 - Close GPU channel unconditionally (r=dvander)
MozReview-Commit-ID: 4Ge2ib9p1i
This commit is contained in:
Родитель
85cf9b13c7
Коммит
4545dbd87f
|
@ -152,12 +152,12 @@ GPUProcessHost::Shutdown()
|
||||||
// unexpected.
|
// unexpected.
|
||||||
mShutdownRequested = true;
|
mShutdownRequested = true;
|
||||||
|
|
||||||
#ifdef NS_FREE_PERMANENT_DATA
|
|
||||||
// The channel might already be closed if we got here unexpectedly.
|
// The channel might already be closed if we got here unexpectedly.
|
||||||
if (!mChannelClosed) {
|
if (!mChannelClosed) {
|
||||||
mGPUChild->Close();
|
mGPUChild->Close();
|
||||||
}
|
}
|
||||||
#else
|
|
||||||
|
#ifndef NS_FREE_PERMANENT_DATA
|
||||||
// No need to communicate shutdown, the GPU process doesn't need to
|
// No need to communicate shutdown, the GPU process doesn't need to
|
||||||
// communicate anything back.
|
// communicate anything back.
|
||||||
KillHard("NormalShutdown");
|
KillHard("NormalShutdown");
|
||||||
|
|
Загрузка…
Ссылка в новой задаче