Merge "Terminate statsd on a few signals including SIGTERM" am: 99f231f3bc am: 41128933e4

am: 582a9b3d3f

Change-Id: I35a2b03000f0bd6f7f9743cf84639e8fd94e5b2f
This commit is contained in:
Howard Ro
2019-10-14 15:58:04 -07:00
committed by android-build-merger

View File

@@ -53,6 +53,8 @@ void sigHandler(int sig) {
if (gStatsService != nullptr) {
gStatsService->Terminate();
}
ALOGW("statsd terminated on receiving signal %d.", sig);
exit(1);
}
void registerSigHandler()