Cywin: user profile: unload impersonation user profile on exit
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
@ -193,6 +193,11 @@ public:
|
||||
{
|
||||
return effec_cygsid.string (buf);
|
||||
}
|
||||
void exit ()
|
||||
{
|
||||
if (imp_profile_token && imp_profile)
|
||||
unload_user_profile (imp_profile_token, imp_profile);
|
||||
}
|
||||
|
||||
const char __reg3 *test_uid (char *&, const char *, size_t);
|
||||
};
|
||||
|
Reference in New Issue
Block a user