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

Commit da2fa312 authored by Neill Kapron's avatar Neill Kapron
Browse files

USB: MtpServer: close MtpFfsHandle before delete



In certain cases, the MtpServer destructor deleting the MtpFfsHandle
causes a crash with SIGABRT in the MtpFfsHandle destructor. Try closing
the handle prior to deleting to perform cleanup.

Test: manual, atest mtp_ffs_handle_test
Bug: 365686062
Flag: EXEMPT bugfix
Change-Id: I565a32594f5eb70efebd460f03757c57daf4b71a
Signed-off-by: default avatarNeill Kapron <nkapron@google.com>
parent 1b56d6e9
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