commit | a47281355f743ec7d9d3f64662cdedb21bc2596e | [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 | bd1849cf62a068f7e986d012e9f829d69a18bfa8 [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