Take trace mutex in setLogGroup

This commit is contained in:
tclinken 2020-03-26 09:55:03 -07:00
parent 7d5ed53215
commit baf0fe956c
1 changed files with 4 additions and 1 deletions

View File

@ -550,7 +550,10 @@ public:
}
}
void setLogGroup(const std::string& logGroup) { this->logGroup = logGroup; }
void setLogGroup(const std::string& logGroup) {
MutexHolder holder(mutex);
this->logGroup = logGroup;
}
Future<Void> pingWriterThread() {
auto ping = new WriterThread::Ping;