aboutsummaryrefslogtreecommitdiff
path: root/src/client/windows/tests
diff options
context:
space:
mode:
authornealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e>2009-06-22 21:45:31 +0000
committernealsid <nealsid@4c0a9323-5329-0410-9bdc-e9ce6186880e>2009-06-22 21:45:31 +0000
commitae4d8370ee0ca72df810a1638f09c058748b8d1e (patch)
treeeb2aad4d141d47d7b932eb525fffa3c2f3595c46 /src/client/windows/tests
parentFix build break in crash_report caused by my checkin that moved minidump proc... (diff)
downloadbreakpad-ae4d8370ee0ca72df810a1638f09c058748b8d1e.tar.xz
Fix for crashs generation test app to not deadlock
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@352 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/windows/tests')
-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);