commit | e01550bbb6520f00c0826e17e13360f127dfddf6 | [log] [tgz] |
---|---|---|
author | John Reck <jreck@google.com> | Fri Nov 10 15:05:35 2023 -0500 |
committer | John Reck <jreck@google.com> | Mon Nov 20 11:55:02 2023 -0500 |
tree | c5b467360a83047144cd1d4b9300a542749fc049 | |
parent | ced62e53eda45387d06c55c155c6bbef8a80a8a0 [diff] |
Add StrongPointer::release() Useful when dealing with raw pointers in unavoidable places. Avoids an awkward (and "slow") dance of mySp->incStrong(0); mySp->get(); ~mySp; Test: make && atest --host libutils_binder_test Change-Id: Ib8d46150592725cc256779bccfed19a16dce78b2