Lock the pulling alarm handler.
Test: statsd test BUG: b/77906846 Change-Id: I414771a20babfb2324e47dd8ddbb44eaa088d199
This commit is contained in:
@@ -482,6 +482,7 @@ void StatsLogProcessor::WriteDataToDisk() {
|
||||
}
|
||||
|
||||
void StatsLogProcessor::informPullAlarmFired(const int64_t timestampNs) {
|
||||
std::lock_guard<std::mutex> lock(mMetricsMutex);
|
||||
mStatsPullerManager.OnAlarmFired(timestampNs);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user