diff options
author | jam <jam@chromium.org> | 2015-12-03 11:38:47 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-03 19:39:30 +0000 |
commit | 7643332bff3b1557139f5fbbe82588eb329c546b (patch) | |
tree | b5c7e61559441d6a6430930e9659ebdd0f927ff1 /mojo/edk/test/scoped_ipc_support.cc | |
parent | d07bcf1b1fb4172a9a00fcc7bbddb685c0a33f8e (diff) | |
download | chromium_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.cc | 2 |
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(); } } |