[USERENV] Use a reference counter when loading and unloading profiles. Unload the...
authorEric Kohl <eric.kohl@reactos.org>
Sat, 16 Mar 2019 06:45:30 +0000 (07:45 +0100)
committerEric Kohl <eric.kohl@reactos.org>
Sat, 16 Mar 2019 06:45:30 +0000 (07:45 +0100)
commit7d28dfd1848e83be05b3ec06cb5151fb4b8e017f
tree348434e077f0b463bcb438ad965033e85b47d795
parente3e173ffaafbccb0e9b52926d41626d5a4dc38cd
[USERENV] Use a reference counter when loading and unloading profiles. Unload the hive only when the reference counter reaches 0. This fixes the remaining bugs in "userenv_apitest LoadUserProfile".
dll/win32/userenv/profile.c