From 898c402dfceb4fc8bba73dab39fda072ba929d5d Mon Sep 17 00:00:00 2001 From: Archi Date: Mon, 12 Feb 2024 19:20:53 +0100 Subject: [PATCH] Misc --- ArchiSteamFarm/Core/ASF.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ArchiSteamFarm/Core/ASF.cs b/ArchiSteamFarm/Core/ASF.cs index ff521a532..2a1d4e1eb 100644 --- a/ArchiSteamFarm/Core/ASF.cs +++ b/ArchiSteamFarm/Core/ASF.cs @@ -825,6 +825,11 @@ public static class ASF { } private static async Task ProtectAgainstCrashes() { + if (Debugging.IsDebugBuild) { + // Allow debug builds to run unconditionally, we expect to crash a lot in those + return true; + } + string crashFilePath = GetFilePath(EFileType.Crash); CrashFile crashFile = await CrashFile.CreateOrLoad(crashFilePath).ConfigureAwait(false);