зеркало из https://github.com/mozilla/pjs.git
Bug 594847 - Handle content-process crashes more gracefully (platform patch) [r=cjones a=blocking-fennec]
This commit is contained in:
Родитель
04d7e8bcdd
Коммит
772b385382
|
@ -130,6 +130,13 @@ ContentParent::ActorDestroy(ActorDestroyReason why)
|
|||
mRunToCompletionDepth = 0;
|
||||
|
||||
mIsAlive = false;
|
||||
|
||||
if (obs) {
|
||||
nsString context = NS_LITERAL_STRING("");
|
||||
if (AbnormalShutdown == why)
|
||||
context.AssignLiteral("abnormal");
|
||||
obs->NotifyObservers(nsnull, "ipc:content-shutdown", context.get());
|
||||
}
|
||||
}
|
||||
|
||||
TabParent*
|
||||
|
|
Загрузка…
Ссылка в новой задаче