mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-10 21:23:40 +01:00
Windows: in case of system favorite mounting, update list of host devices before each retry to mount disconnected favorites.
This commit is contained in:
parent
1c3156a17b
commit
4e0ced43a4
@ -9679,6 +9679,9 @@ BOOL MountFavoriteVolumes (HWND hwnd, BOOL systemFavorites, BOOL logOnMount, BOO
|
|||||||
{
|
{
|
||||||
Sleep (5000);
|
Sleep (5000);
|
||||||
|
|
||||||
|
SystemFavoritesServiceLogInfo (wstring (L"Updating list of host devices"));
|
||||||
|
UpdateMountableHostDeviceList ();
|
||||||
|
|
||||||
SystemFavoritesServiceLogInfo (wstring (L"Trying to mount skipped system favorites"));
|
SystemFavoritesServiceLogInfo (wstring (L"Trying to mount skipped system favorites"));
|
||||||
|
|
||||||
// Update the service status to avoid being killed
|
// Update the service status to avoid being killed
|
||||||
|
Loading…
Reference in New Issue
Block a user