Hopefully fix rare config write race crash
This commit is contained in:
parent
204d449dda
commit
17daee680a
@ -12,6 +12,7 @@ Json Configuration::defaultConfiguration() const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Json Configuration::currentConfiguration() const {
|
Json Configuration::currentConfiguration() const {
|
||||||
|
MutexLocker locker(m_mutex);
|
||||||
return m_currentConfig;
|
return m_currentConfig;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user