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

Skip to content
Commit c6746a7c authored by Steven Moreland's avatar Steven Moreland
Browse files

SharedRefBase: detect double-ownership

If the internal SharedRefBase weak_ptr is promotable while it is being
destroyed, this means that the SharedRefBase object is double-owned, and
something else deleted it. Add an explicit log for this case.

Fixes: 194905504
Test: libbinder_ndk_unit_test
Change-Id: Ib6aa09ff8e659e52eebe96c14d127a6e7c186cff
parent 5d4f84df
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