CrashHandler: Use SetUnhandledExceptionFilter() and terminate on crash

Fixes zombie processes sticking around.
This commit is contained in:
Stenzek
2024-05-07 12:41:03 +10:00
committed by Connor McLaughlin
parent 9752a037be
commit 339dc2313b
4 changed files with 35 additions and 66 deletions
+2 -3
View File
@@ -1,4 +1,4 @@
// SPDX-FileCopyrightText: 2002-2023 PCSX2 Dev Team
// SPDX-FileCopyrightText: 2002-2024 PCSX2 Dev Team
// SPDX-License-Identifier: LGPL-3.0+
#include <string_view>
@@ -6,7 +6,6 @@
namespace CrashHandler
{
bool Install();
void SetWriteDirectory(const std::string_view& dump_directory);
void SetWriteDirectory(std::string_view dump_directory);
void WriteDumpForCaller();
void Uninstall();
} // namespace CrashHandler