Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 24b80a25 authored by Ashish Kumar Gupta's avatar Ashish Kumar Gupta
Browse files

Joining the thread before the MtpFfsHandle object's destruction

We're detaching the thread t in sendEvent. This means the thread
continues to execute independently, even after the MtpFfsHandle object
might have been destroyed. Instead of detaching threads, Join the thread
before MtpFfsHandle object's destruction.
Bug: 355382936
Flag: EXEMPT bug fix
Test: Build mtp_handle_fuzzer and run on the target device
Test: Run mtp in host and device mode

Change-Id: I924704575af89e747793c5d8647570d31cd14af9
parent aaab8ea0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment