Allow retry in mutex acquire process

This commit is contained in:
JustArchi
2020-11-26 18:22:55 +01:00
parent 0a25ee9197
commit 8aeee1e238
2 changed files with 17 additions and 4 deletions

View File

@@ -170,7 +170,8 @@ namespace ArchiSteamFarm {
ParseArgs(args);
}
bool uniqueInstance = OS.RegisterProcess();
bool uniqueInstance = await OS.RegisterProcess().ConfigureAwait(false);
Logging.InitCoreLoggers(uniqueInstance);
if (!uniqueInstance) {