commit | 0963dbd07dc3706dcc9132b69b34934eb086ae7a | [log] [tgz] |
---|---|---|
author | Eric Jeong <ericjeong@google.com> | Fri Apr 17 16:50:05 2020 -0700 |
committer | Eric Jeong <ericjeong@google.com> | Fri Apr 17 16:50:05 2020 -0700 |
tree | 04d31725332b70660decf27637229f2da16ce63f | |
parent | 9a419cda53f415465431ac9e48e4950191c19c6c [diff] |
Stop socket listener when terminating by SIGTERM - During the termination, StatsService is stopped while StatsSocketListener is still running. - This could cause invalid thread access. Bug: 147316537 Test: Run a test app which keeps sending StatsLog and repeatedly execute adb shell su root kill `pidof statsd`. statsd should not crash. Change-Id: Iedd2dcb892f704bdba9adc864afa696de64b8e4c