mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 15:25:35 +08:00
refs #884 Protect filesystem race in settings using QLockFile.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user