forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert 287680 "mojo: terminate apps if the shell goes away"
These tests started consistently failing: ConnectBasicNetwork, ConnectInvalidServiceNetwork. (e.g http://build.chromium.org/p/chromium.linux/builders/Linux%20Tests/builds/12739) > mojo: terminate apps if the shell goes away > > Each application <> shell connection is represented by a ShellImpl instance > on the shell side. This CL makes the Application watch its ShellPtr for pipe > errors so it can Quit() itself if the shell goes away (shell loop destroyed). > > mojo_shell_tests starts using a new method to terminate all shell connections > in this CL, and waits afterward until KeepAlive quits the loop signifying that > all apps are gone. This is done prior to destroying the shell MessageLoop so > that the test ensures apps have all died before the next test. In the future > it would be a test failure if this wasn't a no-op, but we have things in the > shell that don't quit themselves right now. > > The shell itself won't wait around for apps to die (as of this CL), but > ~MessageLoop will still send the message to Application sides that will quit. > > ** NOTE ** This does not require an app build target to explicitly add magic > *.cc files to their sources. It requires selecting an appropriate > mojo_application_{chromium, standalone} library akin to mojo_environment_*. > We can possibly combine these two in the future. > > BUG=394477 > > Review URL: https://codereview.chromium.org/394903005 TBR=tim@chromium.org Review URL: https://codereview.chromium.org/443063003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287752 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information
tommi@chromium.org
committed
Aug 6, 2014
1 parent
5408daa
commit 807bd26
Showing
25 changed files
with
119 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.