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

Unified Diff: win8/metro_driver/chrome_app_view_ash.cc

Issue 584513004: Forcibly terminate the metro viewer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: revert the rest Created 6 years, 3 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: win8/metro_driver/chrome_app_view_ash.cc
diff --git a/win8/metro_driver/chrome_app_view_ash.cc b/win8/metro_driver/chrome_app_view_ash.cc
index 0d1ea8b2190982bbc3a65cd77dea2419a77871b4..b5afe11cf21228bd6eaf491d683e22433b0e62db 100644
--- a/win8/metro_driver/chrome_app_view_ash.cc
+++ b/win8/metro_driver/chrome_app_view_ash.cc
@@ -976,6 +976,9 @@ void ChromeAppViewAsh::OnMetroExit(MetroTerminateMethod method) {
globals.app_exit->Exit();
}
+
+ // Try really hard, see http://crbug.com/411147 for details.
+ ::TerminateProcess(::GetCurrentProcess(), 0);
}
void ChromeAppViewAsh::OnInputSourceChanged() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698