From 13011e00c6330e6d745f319766574d2cd78a1162 Mon Sep 17 00:00:00 2001 From: Michael Lutz Date: Sat, 13 Mar 2021 21:34:51 +0100 Subject: Fix #8860: [Win32] Crashlog window wasn't reliably shown for crashes not on the main thread. --- src/crashlog.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/crashlog.h') diff --git a/src/crashlog.h b/src/crashlog.h index 7f1ff47ed..7d15c3512 100644 --- a/src/crashlog.h +++ b/src/crashlog.h @@ -114,6 +114,12 @@ public: */ static void InitialiseCrashLog(); + /** + * Prepare crash log handler for a newly started thread. + * @note must be implemented by all implementers of CrashLog. + */ + static void InitThread(); + static void SetErrorMessage(const char *message); static void AfterCrashLogCleanup(); }; -- cgit v1.2.3-54-g00ecf