Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(297)

Unified Diff: chrome/app/client_util.cc

Issue 919893002: Replace handles that the handle closer closes with dummy Events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: only change win Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/crash/app/breakpad_win.h » ('j') | components/crash/app/breakpad_win.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/client_util.cc
diff --git a/chrome/app/client_util.cc b/chrome/app/client_util.cc
index 738ae9e2d314a608a3dec05d6d8c02293ad5e784..89d2b2c1b51a62419a2048bb3544b0878d8ccaa2 100644
--- a/chrome/app/client_util.cc
+++ b/chrome/app/client_util.cc
@@ -225,7 +225,9 @@ int MainDllLoader::Launch(HINSTANCE instance) {
DLL_MAIN chrome_main =
reinterpret_cast<DLL_MAIN>(::GetProcAddress(dll_, "ChromeMain"));
int rc = chrome_main(instance, &sandbox_info);
- return OnBeforeExit(rc, file);
+ rc = OnBeforeExit(rc, file);
+ breakpad::ShutdownCrashReporter();
+ return rc;
}
void MainDllLoader::RelaunchChromeBrowserWithNewCommandLineIfNeeded() {
« no previous file with comments | « no previous file | components/crash/app/breakpad_win.h » ('j') | components/crash/app/breakpad_win.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698