Joystick/dialog caches, commit the transactions.
This commit is contained in:
parent
37900e22a8
commit
11f15a9b36
2 changed files with 4 additions and 0 deletions
|
@ -323,6 +323,8 @@ NewGUI::readDir (const SGPath& path)
|
|||
cache->stampCacheFile(xmlPath);
|
||||
cache->writeStringProperty(xmlPath.str(), name);
|
||||
} // of directory children iteration
|
||||
|
||||
txn.commit();
|
||||
}
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
// Style handling.
|
||||
|
|
|
@ -117,6 +117,8 @@ void FGDeviceConfigurationMap::scan_dir(const SGPath & path)
|
|||
} // of cached file stamp is valid
|
||||
} // of child is a file with '.xml' extension
|
||||
} // of directory children iteration
|
||||
|
||||
txn.commit();
|
||||
}
|
||||
|
||||
void FGDeviceConfigurationMap::readCachedData(const SGPath& path)
|
||||
|
|
Loading…
Reference in a new issue