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

Commit c170eea3 authored by Hemant Gupta's avatar Hemant Gupta Committed by Linux Build Service Account
Browse files

PBAP: Synchronize call to CloseService when Service is Destroyed

Synchornize call to CloseService when onDestroy is called for BluetoothPBapService
otherwise we might have timing issue, when closeService is being processed due to BT
being turned off and at same time we get call to onDestroy. So synchronize the calls
to prevent crash due to concurrent access of some variables which are being freed.

CRs-Fixed: 1026855
Change-Id: I8da1ec384ba787c6047c41c4db9d6be633864e17
parent c5936d1e
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