commit | 61fbbc5207c31008cb2236456093c644e6880b5c | [log] [tgz] |
---|---|---|
author | Anton Ivanov <aii@google.com> | Mon Feb 24 16:14:01 2025 -0800 |
committer | Anton Ivanov <aii@google.com> | Thu Feb 27 21:08:42 2025 -0800 |
tree | 06af7df78ebd15ac7b98736735f6e6f6c31aab65 | |
parent | 78a579cb61359a972293d0a18207589073ea50aa [diff] |
Use refcounts to manage lifetime of AChoreographer*. This is more robust then existing new/delete. In particular, current code has a leak in AChoreographer_create in case initialize() is not successful. Bug: 393217449 Test: presubmit Flag: EXEMPT_refactor Change-Id: Ib3d84ee58d953a332b14fd852b53b3507defe74f