Fix possible early crash

This commit is contained in:
JustArchi
2017-07-05 07:07:03 +02:00
parent e640f82712
commit ad09b1dec9

View File

@@ -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);
}