diff options
author | Michael Lutz <michi@icosahedron.de> | 2021-03-13 21:34:51 +0100 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2021-03-13 22:09:05 +0100 |
commit | 13011e00c6330e6d745f319766574d2cd78a1162 (patch) | |
tree | d6e7c2494036e39453705951785e2b85253ac741 /src/crashlog.h | |
parent | 062eeb9810b1c222cb9b0cb331041c0934e49682 (diff) | |
download | openttd-13011e00c6330e6d745f319766574d2cd78a1162.tar.xz |
Fix #8860: [Win32] Crashlog window wasn't reliably shown for crashes not on the main thread.
Diffstat (limited to 'src/crashlog.h')
-rw-r--r-- | src/crashlog.h | 6 |
1 files changed, 6 insertions, 0 deletions
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(); }; |