Index: mojo/shell/tests/connect/connect_test_driver.cc |
diff --git a/mojo/shell/tests/connect/connect_test_driver.cc b/mojo/shell/tests/connect/connect_test_driver.cc |
index 9e5a4cc03d1588d8a5bf88ec4fa7f04633ed5e56..ace64df560a5d55659aa25f5f4fde6dbd1e08fa4 100644 |
--- a/mojo/shell/tests/connect/connect_test_driver.cc |
+++ b/mojo/shell/tests/connect/connect_test_driver.cc |
@@ -37,6 +37,10 @@ class Driver : public mojo::ShellClient, |
connection->AddInterface<ClientProcessTest>(this); |
return true; |
} |
+ void ShellConnectionLost() override { |
+ // TODO: This should exit cleanly. |
+ _exit(1); |
+ } |
// mojo::InterfaceFactory<ConnectTestService>: |
void Create(mojo::Connection* connection, |