Commit 690ecb98 authored by binzhang's avatar binzhang Committed by Bin Zhang
Browse files

sf: add lock to make sure right access of visibleNonTransparentRegion.

visibleNonTransparentRegion may be freed in computeVisibleRegions call,
and at the same time, in onFrameAvailable call, we may access it.
Add lock to avoid such race condition.

Change-Id: Ifdc304b88b43eba039d484ccfb6a19089bcbca70
CRs-Fixed: 2556686
parent 3cfd4865
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment