summaryrefslogtreecommitdiffstats
path: root/mojo/edk/test/scoped_ipc_support.cc
diff options
context:
space:
mode:
authorjam <jam@chromium.org>2015-12-03 11:38:47 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-03 19:39:30 +0000
commit7643332bff3b1557139f5fbbe82588eb329c546b (patch)
treeb5c7e61559441d6a6430930e9659ebdd0f927ff1 /mojo/edk/test/scoped_ipc_support.cc
parentd07bcf1b1fb4172a9a00fcc7bbddb685c0a33f8e (diff)
downloadchromium_src-7643332bff3b1557139f5fbbe82588eb329c546b.zip
chromium_src-7643332bff3b1557139f5fbbe82588eb329c546b.tar.gz
chromium_src-7643332bff3b1557139f5fbbe82588eb329c546b.tar.bz2
Remove ShutdownIPCSupportAndWaitForNoChannels.
It's going to be very difficult to enable this for production code as any code can leak message pipes. It'll also be hard to implement correctly with multiplexing. This was added for a test, but I just changed the test instead so that it quits after it sends a lot of reply messages. BUG=556259 Review URL: https://codereview.chromium.org/1492943005 Cr-Commit-Position: refs/heads/master@{#363034}
Diffstat (limited to 'mojo/edk/test/scoped_ipc_support.cc')
-rw-r--r--mojo/edk/test/scoped_ipc_support.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/mojo/edk/test/scoped_ipc_support.cc b/mojo/edk/test/scoped_ipc_support.cc
index 6e9c11c..2c5ecd1 100644
--- a/mojo/edk/test/scoped_ipc_support.cc
+++ b/mojo/edk/test/scoped_ipc_support.cc
@@ -21,7 +21,7 @@ ScopedIPCSupportHelper::~ScopedIPCSupportHelper() {
base::MessageLoop::current()->task_runner() == io_thread_task_runner_) {
ShutdownIPCSupportOnIOThread();
} else {
- ShutdownIPCSupportAndWaitForNoChannels();
+ ShutdownIPCSupport();
run_loop_.Run();
}
}