commit | d0a160d722e696b1a3ffb91dcfde61ee11bfb3e0 | [log] [tgz] |
---|---|---|
author | Tao Wu <lepton@google.com> | Tue Dec 13 18:32:17 2016 -0800 |
committer | Tao Wu <lepton@google.com> | Mon Dec 19 15:59:06 2016 -0800 |
tree | fecf340a29cc23d8c0b84bd11d898b8b0917cca6 | |
parent | d812f782978932f790b7e844cd992f116776b6e3 [diff] |
Fix unquitable apps when debug enabled. There is a race condition that we could read from control_sock_ after we are asked to shutdown. Then we are stuck at pthread_join and can't exit. Bug: 33592362 Test: manual - for detail, check bug description. Change-Id: Ia7ece00131803a55fc040323ec19665d9b0300f9 Signed-off-by: Tao Wu <lepton@google.com>