mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
Fix possible early crash
This commit is contained in:
@@ -135,6 +135,9 @@ namespace ArchiSteamFarm {
|
||||
ASF.ArchiLogger.LogGenericException(e);
|
||||
}
|
||||
|
||||
// Give new process some time to take over the window (if needed)
|
||||
await Task.Delay(5000).ConfigureAwait(false);
|
||||
|
||||
ShutdownResetEvent.Set();
|
||||
Environment.Exit(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user