commit | 4449d4e569651281025d7df45f971abc49dea396 | [log] [tgz] |
---|---|---|
author | Devin Moore <devinmoore@google.com> | Tue Nov 19 19:13:40 2024 +0000 |
committer | Devin Moore <devinmoore@google.com> | Fri Jan 03 21:37:10 2025 +0000 |
tree | 5b4cf17e2aa2d6060855d6f820b54ef10a1f2a06 | |
parent | a3867c739a80d0c8a58dcb00bcae8f98afdc78ef [diff] |
Change callback handling from Arc to Box There is only ever one ref count for this callback object, and it's always completely dropped when the Accessor or AccessorProvider objects are dropped, so Box is a better type. Test: atest rustBinderTest # has the *callback_destruction tests Bug: 358427181 Change-Id: Ifc4b17a589b27f232c20c7e8a82d2b23a717fda8