Commit d6f9d858 authored by Alex Light's avatar Alex Light
Browse files

Fix UAF error caught by asan

We were 'delete'ing the AdbConnectionState while it still had a thread
running. To fix this we moved responsibility for deleting the
AdbConnectionState to the thread that makes use of it (if it was, in
fact, created).

Test: Build and boot device with adbconnection

Change-Id: I9f33a308d9b56a33c155b37dd86749d5a765809c
parent 92d0c8b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment