Chromium Code Reviews
DescriptionMore graceful shutdown for ArcSession.
Currently, ArcSession uses the same function for stop request
by user's action, and Chrome's process shutdown.
However, those runs under different conditions. Specifically
on Chrome's process shutdown, there is no more running UI
message loop, so async callback on UI thread will not work later.
For more graceful shutdown, this CL introduces a dedicated
method for shutdown.
BUG=633258
BUG=b/30236819
TEST=Ran bots. Ran on the test device and made sure the shutdown works.
Committed: https://crrev.com/1362287708e9a559efbe66b4a137150c6aef7348
Cr-Commit-Position: refs/heads/master@{#426760}
Patch Set 1 #
Total comments: 21
Patch Set 2 : Address comments. #Patch Set 3 : Rebase #Patch Set 4 : Add StopArcInstance #Messages
Total messages: 28 (17 generated)
|