From 4e0ced43a48872afd5c1049506b53eef69622149 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Fri, 7 Jul 2017 01:06:07 +0200 Subject: Windows: in case of system favorite mounting, update list of host devices before each retry to mount disconnected favorites. --- src/Mount/Mount.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Mount/Mount.c b/src/Mount/Mount.c index 76fa0e3c..d3886726 100644 --- a/src/Mount/Mount.c +++ b/src/Mount/Mount.c @@ -9679,6 +9679,9 @@ BOOL MountFavoriteVolumes (HWND hwnd, BOOL systemFavorites, BOOL logOnMount, BOO { Sleep (5000); + SystemFavoritesServiceLogInfo (wstring (L"Updating list of host devices")); + UpdateMountableHostDeviceList (); + SystemFavoritesServiceLogInfo (wstring (L"Trying to mount skipped system favorites")); // Update the service status to avoid being killed -- cgit v1.2.3