mirror of
https://github.com/reactos/reactos.git
synced 2024-11-26 21:13:30 +08:00
[USERENV] HACK: add a sleep to try to work around CORE-17263.
This commit is contained in:
parent
afbff37d98
commit
9f3175bf3d
@ -1104,6 +1104,10 @@ CreateUserProfileExW(
|
||||
bRet = FALSE;
|
||||
}
|
||||
|
||||
/* HACKHACKHACK: CORE-17263 -- wait for a little bit to make sure all
|
||||
* KCBs have been deref'd before we unload */
|
||||
Sleep(1000);
|
||||
|
||||
/* Unload the hive */
|
||||
AcquireRemoveRestorePrivilege(TRUE);
|
||||
RegUnLoadKeyW(HKEY_USERS, SidString);
|
||||
|
Loading…
Reference in New Issue
Block a user