commit | b6c77af4993b5e5a83fd1ed80309823e44f70650 | [log] [tgz] |
---|---|---|
author | Bertrand SIMONNET <bsimonnet@google.com> | Tue Dec 08 17:46:00 2015 -0800 |
committer | Bertrand SIMONNET <bsimonnet@google.com> | Tue Jan 12 10:29:40 2016 -0800 |
tree | a97354b0b2aec5c339bf33d3beec9e00eeeae926 | |
parent | e4b332c7e4ce19e1e2e6d8fe001d8c9e1709f280 [diff] |
metricsd: Cleanup on TERM signal. metricsd should shutdown cleanly when receiving a TERM signal: * stop the binder watcher. * wait for the thread to quit. * Exit cleanly. Note: This is not directly used as we don't send SIGTERM on shutdown or when stopping services yet. Bug: 25670584 Change-Id: I878d1e67474c72d24790f3540470e37a23112a95