refs #884 Protect filesystem race in settings using QLockFile.

This commit is contained in:
Mathew Sutcliffe
2017-03-15 18:36:45 +00:00
parent 0d0e2cf9e0
commit 70520d44c3
3 changed files with 42 additions and 3 deletions

View File

@@ -511,9 +511,6 @@ namespace BlackCore
{
return this->getIContextApplication()->saveSettingsByKey(keys);
}
//! \todo If contexts have shut down then we already missed the opportunity to save settings.
//! Saving without contexts is not safe.
BLACK_VERIFY(false);
return CSettingsCache::instance()->saveToStore(keys);
}