Merge "metricsd: Persist metrics on shutdown."
This commit is contained in:
commit
195bbc718b
1 changed files with 1 additions and 0 deletions
|
|
@ -90,6 +90,7 @@ int UploadService::OnInit() {
|
|||
|
||||
void UploadService::OnShutdown(int* exit_code) {
|
||||
metricsd_service_runner_.Stop();
|
||||
PersistToDisk();
|
||||
}
|
||||
|
||||
void UploadService::InitForTest(SystemProfileSetter* setter) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue