projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Shutdown the process manager before shutdown the registry.
[reactos.git]
/
reactos
/
ntoskrnl
/
ex
/
power.c
diff --git
a/reactos/ntoskrnl/ex/power.c
b/reactos/ntoskrnl/ex/power.c
index
66f6bb3
..
2c893f9
100644
(file)
--- a/
reactos/ntoskrnl/ex/power.c
+++ b/
reactos/ntoskrnl/ex/power.c
@@
-148,15
+148,16
@@
ShutdownThreadMain(PVOID Context)
sizeof(PCH))]);
}
sizeof(PCH))]);
}
+ PiShutdownProcessManager();
+ Waittime.QuadPart = (LONGLONG)-10000000; /* 1sec */
+ KeDelayExecutionThread(KernelMode, FALSE, &Waittime);
+
CmShutdownRegistry();
IoShutdownRegisteredFileSystems();
IoShutdownRegisteredDevices();
CmShutdownRegistry();
IoShutdownRegisteredFileSystems();
IoShutdownRegisteredDevices();
- PiShutdownProcessManager();
MiShutdownMemoryManager();
MiShutdownMemoryManager();
- Waittime.QuadPart = (LONGLONG)-10000000; /* 1sec */
- KeDelayExecutionThread(KernelMode, FALSE, &Waittime);
if (Action == ShutdownNoReboot)
{
if (Action == ShutdownNoReboot)
{