Backed out changeset 3e9cc0ba5dfb (bug 1066812) for suspicion of causing B2G Nuwa mochitest crashes on a CLOSED TREE.

This commit is contained in:
Ryan VanderMeulen 2015-03-02 11:58:12 -05:00
Родитель a83d879253
Коммит 2bb894faa2
2 изменённых файлов: 1 добавлений и 7 удалений

Просмотреть файл

@ -615,10 +615,6 @@ ContentChild::Init(MessageLoop* aIOLoop,
// urgent messages.
GetIPCChannel()->BlockScripts();
// If communications with the parent have broken down, take the process
// down so it's not hanging around.
GetIPCChannel()->SetAbortOnError(true);
#ifdef MOZ_X11
// Send the parent our X socket to act as a proxy reference for our X
// resources.
@ -2575,8 +2571,6 @@ ContentChild::RecvShutdown()
os->NotifyObservers(this, "content-child-shutdown", nullptr);
}
GetIPCChannel()->SetAbortOnError(false);
// Ignore errors here. If this fails, the parent will kill us after a
// timeout.
unused << SendFinishShutdown();

Просмотреть файл

@ -88,7 +88,7 @@ class MessageChannel : HasResultCodes
void SetAbortOnError(bool abort)
{
mAbortOnError = abort;
mAbortOnError = true;
}
// Misc. behavioral traits consumers can request for this channel