mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
Per-user network connections (to shared drives...) are restored at user logon: `HandleLogon() -> RestoreAllConnections()`. These connections should be closed only at user logoff, in `HandleLogoff()`, instead of inside the common logoff/shutdown thread, which is also invoked at... shutdown! - Isolate the network connections closing inside a `CloseAllConnections()` helper (which also performs the necessary user thread impersonation). - Invoke this helper directly inside `HandleLogoff()`, and also re-enable the `IDS_CLOSINGNETWORKCONNECTIONS` message display.