Descriptionmedia: Quit MojoMediaApplication when no service is bound.
After 30 seconds without any service bound, we'll quit the mojo media
application to release resources. In particular, when we host the app in the
utility process, this is needed so that the utility process can be killed when
no service is bound for long time.
Also changes AppRefCount to supported delayed release.
BUG=479935
TEST=Tested with the mojo media app hosted in the utility process.
Patch Set 1 #
Total comments: 6
Patch Set 2 : add test #Patch Set 3 : #Patch Set 4 : Use AppRefCount. #Patch Set 5 : #
Total comments: 6
Patch Set 6 : rebase only #Patch Set 7 : comments addressed #Patch Set 8 : rebase only #Messages
Total messages: 25 (3 generated)
|