Check for strongCount of Surface to avoid double delete in ~Surface()
After binder transaction, keep a check for strongCount of Surface to avoid creating a sp<Surface> with a surface which is being destroyed because it will lead to double delete in ~Surface() when it goes out of scope. (cherry picked from commit 3f69147188d0ba2607dab084fc04117f5d02d5c7) Change-Id: I4f67670ac81752113a48200a85ccef4737f25ce7
Loading
Please register or sign in to comment