mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user