diff options
author | Calvin On <con@google.com> | 2017-11-01 13:37:18 -0700 |
---|---|---|
committer | Calvin On <con@google.com> | 2017-11-02 11:40:47 -0700 |
commit | f5b9f7b50ed858959a21e98d7150ade7f66118c3 (patch) | |
tree | 8ef0c2cfa7b64e54ef0b3eb723209fca71d6c364 /tools/aapt2/java/AnnotationProcessor_test.cpp | |
parent | a546c38130abf3baaf86a9e824703c5ecbd9f280 (diff) |
Fix StateMachine init/quit race.
The quitNow method places the SM_QUIT_CMD at the front
of the queue. This can cause StateMachine to throw exception
if it has not yet processed the SM_INIT_CMD from start().
Bug: 67370902
Test: make checkbuild
Test: StatMachineTest unittest
Change-Id: I409242845854e70b77ad9b2378b69faed076847c
Merged-In: I7cec7bb91e0447e3c565d33cb7c34ccf59566639
Diffstat (limited to 'tools/aapt2/java/AnnotationProcessor_test.cpp')
0 files changed, 0 insertions, 0 deletions