aboutsummaryrefslogtreecommitdiff
path: root/src/client/windows/tests/crash_generation_app/crash_generation_app.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/windows/tests/crash_generation_app/crash_generation_app.cc')
-rw-r--r--src/client/windows/tests/crash_generation_app/crash_generation_app.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/windows/tests/crash_generation_app/crash_generation_app.cc b/src/client/windows/tests/crash_generation_app/crash_generation_app.cc
index a3c560bd..5dfe4051 100644
--- a/src/client/windows/tests/crash_generation_app/crash_generation_app.cc
+++ b/src/client/windows/tests/crash_generation_app/crash_generation_app.cc
@@ -183,7 +183,7 @@ bool ShowDumpResults(const wchar_t* dump_path,
delete [] text;
}
- AppendTextWorker(text);
+ QueueUserWorkItem(AppendTextWorker, text, WT_EXECUTEDEFAULT);
return succeeded;
}
@@ -467,6 +467,7 @@ int APIENTRY _tWinMain(HINSTANCE instance,
CustomClientInfo custom_info = {kCustomInfoEntries, kCustomInfoCount};
+ CrashServerStart();
// This is needed for CRT to not show dialog for invalid param
// failures and instead let the code handle it.
_CrtSetReportMode(_CRT_ASSERT, 0);