AVRCP: Advance iterator before deleting it
When we invoke instance_->avrc_->Close(), it will invoke the callback in AcceptorControlCb by the state machine from AVCT, and the iterator will be deleted. Now we advanece the iterator first. Bug: 169747177 Test: Connect to a speaker with AVRCP, and turn off Bluetooth Tag: #stability Change-Id: If4ed403d355242da48b7ee49dd74784f43de1b1d
Loading
Please register or sign in to comment