mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 15:46:52 +00:00
[SCM]: Fix SCM shutdown. Now all services are stopped (in my working copy with the CSRSS shutdown code).
svn path=/trunk/; revision=46068
This commit is contained in:
parent
30cee65672
commit
c240396ad5
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ ShutdownHandlerRoutine(DWORD dwCtrlType)
|
|||
{
|
||||
DPRINT1("ShutdownHandlerRoutine() called\n");
|
||||
|
||||
if (dwCtrlType == CTRL_SHUTDOWN_EVENT)
|
||||
if (dwCtrlType & (CTRL_SHUTDOWN_EVENT | CTRL_LOGOFF_EVENT))
|
||||
{
|
||||
DPRINT1("Shutdown event received!\n");
|
||||
ScmShutdown = TRUE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue