commit | 8aa1be1bf6c109c5e8a9d4605579c71cab7843d9 | [log] [tgz] |
---|---|---|
author | Tao Wu <lepton@google.com> | Thu Oct 26 10:43:10 2017 -0700 |
committer | Tao Wu <lepton@google.com> | Thu Oct 26 22:08:56 2017 +0000 |
tree | 2bce21704feae392002b09c10ac648a1218e6c64 | |
parent | 84f1a0014a5895aae6834b1909320ce7a12c3303 [diff] |
Fix one race condition between start and stop. For a oneshot service, if start happens immediately after stop, the service could be still in stopping status and then start won't do anything. This fix this race condition. Test: manual - see reproduce instructions in bug. Bug: 68020256 Change-Id: I20202fa346f1949a8bda3d90deedc8b6a6d814d3