diff --git a/ArchiSteamFarm/Core/Utilities.cs b/ArchiSteamFarm/Core/Utilities.cs index dcca3035a..817014029 100644 --- a/ArchiSteamFarm/Core/Utilities.cs +++ b/ArchiSteamFarm/Core/Utilities.cs @@ -468,6 +468,12 @@ public static class Utilities { // It's entirely possible that old process is still running, we allow this to happen and add additional delay ASF.ArchiLogger.LogGenericDebuggingException(e); + continue; + } catch (UnauthorizedAccessException e) when (i < MaxSharingViolationTries) { + // TODO: What HResult here? + // It's entirely possible that old process is still running, we allow this to happen and add additional delay + ASF.ArchiLogger.LogGenericDebuggingException(e); + continue; }