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() { |