зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1378281
- Take 2: Also check if the child is destroyed during ProvideWindowCommon, r=catalinb
This commit is contained in:
Родитель
5e623ba14f
Коммит
74165be086
|
@ -1029,7 +1029,7 @@ ContentChild::ProvideWindowCommon(TabChild* aTabOpener,
|
|||
}
|
||||
|
||||
// If the TabChild has been torn down, we don't need to do this anymore.
|
||||
if (NS_WARN_IF(!newChild->IPCOpen())) {
|
||||
if (NS_WARN_IF(!newChild->IPCOpen() || newChild->IsDestroyed())) {
|
||||
return NS_ERROR_ABORT;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче