This commit is contained in:
Archi
2024-02-12 19:20:53 +01:00
parent 9258819c84
commit 898c402dfc

View File

@@ -825,6 +825,11 @@ public static class ASF {
}
private static async Task<bool> 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);