mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 05:25:48 +00:00
[WINLOGON] On logoff, also disconnect from any remote location
This avoids keeping connections open and reopening them as soon as the user reopens their session. This fixes network shared being duplicated each time session is reopened. CORE-15012
This commit is contained in:
parent
6f5da265c8
commit
cbff9a3046
2 changed files with 4 additions and 1 deletions
|
@ -657,6 +657,9 @@ LogoffShutdownThread(
|
|||
ret = 0;
|
||||
}
|
||||
|
||||
/* Cancel all the user connections */
|
||||
WNetClearConnections(0);
|
||||
|
||||
if (LSData->Session->UserToken)
|
||||
RevertToSelf();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue