diff options
| author | 2023-11-08 23:08:10 -0500 | |
|---|---|---|
| committer | 2023-11-08 23:09:24 -0500 | |
| commit | 5d3fac14c08512a7ec0ae6a517c6ee94518490b9 (patch) | |
| tree | 7c3e0f5bb3ab041cc3037dbae0b1081958a901ff /api/api.go | |
| parent | a03981784febf2105d0a60965dcd2f7106535b4f (diff) | |
Adjust how present semaphore is handled
Avoids stashing a semaphore in a field
use unique_fd to ensure an unused present fence isn't leaked
Test: sample app ran in a loop for 3 hours, FD usage remained constant
Fixes: 295332012
Change-Id: Iee38e86587805ef3596e5f7efea3ca3b5c7758b3
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions