diff options
| author | sky <sky@chromium.org> | 2016-03-22 14:44:16 -0700 |
|---|---|---|
| committer | Commit bot <commit-bot@chromium.org> | 2016-03-22 21:45:57 +0000 |
| commit | 340545a9d2c2bf94d93421bbb6bfa40596ae4523 (patch) | |
| tree | 7e13a15630e87d0c8c0bd19a2bacd1062eebdbbf /components/leveldb/leveldb_app.cc | |
| parent | 56d49295ef5c22d1fbc71d491494944cf1709bb3 (diff) | |
| download | chromium_src-340545a9d2c2bf94d93421bbb6bfa40596ae4523.zip chromium_src-340545a9d2c2bf94d93421bbb6bfa40596ae4523.tar.gz chromium_src-340545a9d2c2bf94d93421bbb6bfa40596ae4523.tar.bz2 | |
Quit the message loop by default in ShellConnectionLost when ApplicationRunner is used
This was originally at https://codereview.chromium.org/1814223002/ , but Ben is out and
I need this for tests, so I'm taking over.
BUG=none
TEST=covered by tests
TBR=ben@chromium.org
R=ben@chromium.org
Committed: https://crrev.com/a50f9840749052fbdec087a304548217cc6fd00b
Cr-Commit-Position: refs/heads/master@{#382389}
Review URL: https://codereview.chromium.org/1819063002
Cr-Commit-Position: refs/heads/master@{#382688}
Diffstat (limited to 'components/leveldb/leveldb_app.cc')
| -rw-r--r-- | components/leveldb/leveldb_app.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/components/leveldb/leveldb_app.cc b/components/leveldb/leveldb_app.cc index ac2855f..e216391 100644 --- a/components/leveldb/leveldb_app.cc +++ b/components/leveldb/leveldb_app.cc @@ -25,11 +25,6 @@ bool LevelDBApp::AcceptConnection(mojo::Connection* connection) { return true; } -void LevelDBApp::ShellConnectionLost() { - // TODO: This should exit cleanly. - _exit(1); -} - void LevelDBApp::Create(mojo::Connection* connection, leveldb::LevelDBServiceRequest request) { if (!service_) |
