Merge "Terminate statsd on a few signals including SIGTERM"
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user