mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
- Don't bother flushing volatile hives.
svn path=/trunk/; revision=30088
This commit is contained in:
parent
be299c8c04
commit
5a59a4ee2f
1 changed files with 6 additions and 2 deletions
|
@ -561,7 +561,9 @@ CmShutdownRegistry(VOID)
|
|||
{
|
||||
Hive = CONTAINING_RECORD(Entry, CMHIVE, HiveList);
|
||||
|
||||
if (!(IsNoFileHive(Hive) || IsNoSynchHive(Hive)))
|
||||
if (!(IsNoFileHive(Hive) ||
|
||||
IsNoSynchHive(Hive) ||
|
||||
(Hive->Hive.HiveFlags & HIVE_VOLATILE)))
|
||||
{
|
||||
/* Flush non-volatile hive */
|
||||
CmiFlushRegistryHive(Hive);
|
||||
|
@ -595,7 +597,9 @@ CmiHiveSyncRoutine(PVOID DeferredContext)
|
|||
{
|
||||
Hive = CONTAINING_RECORD(Entry, CMHIVE, HiveList);
|
||||
|
||||
if (!(IsNoFileHive(Hive) || IsNoSynchHive(Hive)))
|
||||
if (!(IsNoFileHive(Hive) ||
|
||||
IsNoSynchHive(Hive) ||
|
||||
(Hive->Hive.HiveFlags & HIVE_VOLATILE)))
|
||||
{
|
||||
/* Flush non-volatile hive */
|
||||
CmiFlushRegistryHive(Hive);
|
||||
|
|
Loading…
Reference in a new issue