Take trace mutex in setLogGroup
This commit is contained in:
parent
7d5ed53215
commit
baf0fe956c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue