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

Unified Diff: sky/tools/debugger/prompt/prompt.cc

Issue 695183003: Bring skydebugger closer to clean-shutdown (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Add crbug reference" Created 6 years, 1 month 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 | « sky/tools/debugger/debugger.mojom ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tools/debugger/prompt/prompt.cc
diff --git a/sky/tools/debugger/prompt/prompt.cc b/sky/tools/debugger/prompt/prompt.cc
index b8007a782763e4c537cbfe62541656735f874aac..8a5ad048f5f8210f6dcf45f84551723483b7accc 100644
--- a/sky/tools/debugger/prompt/prompt.cc
+++ b/sky/tools/debugger/prompt/prompt.cc
@@ -132,7 +132,7 @@ class Prompt : public mojo::ApplicationDelegate {
void Quit() {
std::cout << "quitting" << std::endl;
- exit(0);
+ debugger_->Shutdown();
}
void ToggleTracing() {
« no previous file with comments | « sky/tools/debugger/debugger.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698