Descriptionbluetooth: Remove device before dispatching event
Changes the order in which we removed the device and dispatched the
disconnected event. The previous order (dispatch -> remove), could result
in removing a device that was added by the event handler.
BUG=621022
Committed: https://crrev.com/efe33416c5109c9d155eb081a4894201519d902e
Cr-Commit-Position: refs/heads/master@{#400601}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Address jyasskin's comments #Patch Set 3 : Moar fixes #
Messages
Total messages: 16 (7 generated)
|