mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-06 17:10:13 +00:00
Update ASF.cs
This commit is contained in:
@@ -298,8 +298,13 @@ namespace ArchiSteamFarm {
|
||||
return null;
|
||||
}
|
||||
|
||||
// We disable ArchiKestrel here as the update process moves the core files and might result in IPC crash
|
||||
await ArchiKestrel.Stop().ConfigureAwait(false);
|
||||
try {
|
||||
// We disable ArchiKestrel here as the update process moves the core files and might result in IPC crash
|
||||
// TODO: It might fail if the update was triggered from the API, this should be something to improve in the future, by changing the structure into request -> return response -> finish update
|
||||
await ArchiKestrel.Stop().ConfigureAwait(false);
|
||||
} catch (Exception e) {
|
||||
ArchiLogger.LogGenericWarningException(e);
|
||||
}
|
||||
|
||||
try {
|
||||
#if !NETFRAMEWORK
|
||||
|
||||
Reference in New Issue
Block a user