OSDN Git Service

Fix stack shutdown
authorHansong Zhang <hsz@google.com>
Wed, 18 Nov 2020 20:51:38 +0000 (12:51 -0800)
committerHansong Zhang <hsz@google.com>
Thu, 19 Nov 2020 19:22:07 +0000 (11:22 -0800)
commit389e807744600bcf575be443d55fe143776c262e
tree45d8714b2d73dfe2774cd0cb9f4154c02f978c22
parentf6f20fbd67fe1966b84aff0386c36980a2c322d3
Fix stack shutdown

Stop main thread first, before btm shutdown, so that we won't handle
ADV reports during shutdown.

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: I56a62a3c193997bc2e548dee38817ef758d82f2f
btif/src/stack_manager.cc