21 lines
498 B
Diff
21 lines
498 B
Diff
--- a/src/crash_writer_minidump.cpp
|
|
+++ b/src/crash_writer_minidump.cpp
|
|
@@ -31,8 +31,6 @@
|
|
#include <Windows.h>
|
|
#include <DbgHelp.h>
|
|
|
|
-extern EXCEPTION_POINTERS *wxGlobalSEInformation;
|
|
-
|
|
namespace {
|
|
wchar_t crash_dump_path[MAX_PATH];
|
|
agi::fs::path crashlog_path;
|
|
@@ -131,7 +129,7 @@
|
|
}
|
|
|
|
void Write() {
|
|
- dump_thread->ep = wxGlobalSEInformation;
|
|
+ dump_thread->ep = nullptr;
|
|
dump_thread->thread_id = GetCurrentThreadId();
|
|
dump_thread->start_cv.notify_all();
|
|
dump_thread->thread.join();
|