diff options
author | kmackay <kmackay@chromium.org> | 2015-12-29 11:08:10 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-29 19:09:55 +0000 |
commit | 318de4b00ef94836116758d2bba1892fb0eb246c (patch) | |
tree | d39138d347256c2f8bed25aacce368da6935e206 /chromecast/app | |
parent | 5fc45b53137022c58150279fb62a0c2ef18bff80 (diff) | |
download | chromium_src-318de4b00ef94836116758d2bba1892fb0eb246c.zip chromium_src-318de4b00ef94836116758d2bba1892fb0eb246c.tar.gz chromium_src-318de4b00ef94836116758d2bba1892fb0eb246c.tar.bz2 |
[Chromecast] Make SIGTERM/SIGINT handler safer
* Use signal-safe logging.
* Ignore signals that are not to the main thread.
As far as I can tell, the runloop's quit closure is safe to run
in a signal handler, so that should be OK.
BUG= internal b/26253582
Review URL: https://codereview.chromium.org/1542233002
Cr-Commit-Position: refs/heads/master@{#367089}
Diffstat (limited to 'chromecast/app')
0 files changed, 0 insertions, 0 deletions