summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimation.cpp
diff options
context:
space:
mode:
author Suren Baghdasaryan <surenb@google.com> 2023-04-04 04:42:50 +0000
committer Suren Baghdasaryan <surenb@google.com> 2023-04-17 15:42:15 +0000
commit0012e8b83a53c0328c0dfafdfbd6751a2192b930 (patch)
treef2350e51ae3cfaa7d11b8084de1bd016d2027d5c /cmds/bootanimation/BootAnimation.cpp
parentf4abf28623e3fd9bb8250118d8b36c7b06040fc9 (diff)
Do not crash webview if its group creation fails due to a dead process
Failure by webview to create a process group for newly spawned child is treated as a fatal error. This is done to avoid leaving children in the parent's process group because such relationship can lead to side-effects, like freezing the parent when the child's group is being frozen. However, if the child died before it could be added into a process group, there is no such danger, therefore such failure does not have to crash the parent process. Check for this situation and when createProcessGroup() fails because the child is dead, just log the error and keep going. Bug: 270103958 Change-Id: I129da0838fc14ac0dbda43de49bcf47918f1822d Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions