Fix: survey result on crash only worked on Linux (#10855)
Every OS-specific crashlog handler has their own MakeCrashLog in some form. In result, only Linux was calling the generic one.
This commit is contained in:
@@ -192,6 +192,8 @@ public:
|
||||
ret = false;
|
||||
}
|
||||
|
||||
this->SendSurvey();
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
@@ -564,6 +564,7 @@ static LONG WINAPI ExceptionHandler(EXCEPTION_POINTERS *ep)
|
||||
log->AppendDecodedStacktrace(buf, lastof(log->crashlog));
|
||||
log->WriteCrashLog(log->crashlog, log->crashlog_filename, lastof(log->crashlog_filename));
|
||||
log->WriteScreenshot(log->screenshot_filename, lastof(log->screenshot_filename));
|
||||
log->SendSurvey();
|
||||
|
||||
/* Close any possible log files */
|
||||
CloseConsoleLogIfActive();
|
||||
|
Reference in New Issue
Block a user