From 3113d2a3bacfe3dbaffa82d105bf93d22018a6e9 Mon Sep 17 00:00:00 2001 From: Stefan Ginsberg Date: Wed, 22 Oct 2008 13:59:01 +0000 Subject: [PATCH] - Notify umpnpmgr about logon after the shell has initialized - This makes it possible to progress if userinit crashes due to heavy debug output (due to timing issues in its communication with umpnpmgr), which would leave you stranded with no shell. Not really a hack, as it doesn't hide or fix the crash -- just limits it to a missing "Pending device installations" prompt in case there are any pending. Also, it appears to be done the same way on Windows. svn path=/trunk/; revision=36894 --- reactos/base/system/userinit/userinit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/base/system/userinit/userinit.c b/reactos/base/system/userinit/userinit.c index 6b81fe38bfa..5c43608f8ab 100644 --- a/reactos/base/system/userinit/userinit.c +++ b/reactos/base/system/userinit/userinit.c @@ -580,9 +580,9 @@ wWinMain(IN HINSTANCE hInst, IN LPWSTR lpszCmdLine, IN int nCmdShow) { - NotifyLogon(); SetUserSettings(); StartShell(); + NotifyLogon(); return 0; }