DescriptionRaise SIGKILL if cast_service doesn't Finalize() within timeout.
If there is a hang-up in the Finalize() method for cast_service,
then the cast_shell process will never return and cannot be stopped
using SIGTERM. We should add a timeout so that the process is
forcibly killed if it refuses to exit properly.
BUG=
Committed: https://crrev.com/12d9b12eebb8c05d0b6316cdd374fd39a0b4a06f
Cr-Commit-Position: refs/heads/master@{#322038}
Patch Set 1 #
Total comments: 5
Patch Set 2 : Include cast service Stop() inside SIGALRM guard. #Patch Set 3 : Cancel outstanding alarm calls when deregistering handler. #
Total comments: 2
Messages
Total messages: 15 (2 generated)
|