зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1032125: Part 3: Don't send frame messages to Nuwa process after Nuwa has frozen. r=khuey
This commit is contained in:
Родитель
fc52a5a754
Коммит
cdb6f62835
|
@ -3681,6 +3681,12 @@ ContentParent::DoSendAsyncMessage(JSContext* aCx,
|
|||
if (aCpows && !GetCPOWManager()->Wrap(aCx, aCpows, &cpows)) {
|
||||
return false;
|
||||
}
|
||||
#ifdef MOZ_NUWA_PROCESS
|
||||
if (IsNuwaProcess() && IsNuwaReady()) {
|
||||
// Nuwa won't receive frame messages after it is frozen.
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
return SendAsyncMessage(nsString(aMessage), data, cpows, Principal(aPrincipal));
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче