summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author William Xiao <wxyz@google.com> 2024-05-07 18:09:36 -0700
committer William Xiao <wxyz@google.com> 2024-05-07 18:12:55 -0700
commite92970ff0698103478cc13aa5617797368d7b56a (patch)
treec31468564fba14cd39fbe75dd6aad0418d812170 /api/api.go
parentf5362cfffb95a953888ecf66523b5942f28f72e7 (diff)
Plug some potential memory leaks in DreamOverlayContainerViewController
updateBurnInOffsets was never cancelled on view detach as lambdas are never equal, so it continued running continuously even after the dream stops. BouncerlessScrimController callbacks were never removed. This is a bit more minor, but BouncerlessScrimController seems to be retained regardless of dream state, causing the callbacks to stack up. It's safer to clean up after ourselves and remove the callback once we no longer needed. Bug: 338532926 Test: atest DreamOverlayContainerViewControllerTest Flag: N/A Change-Id: I6fc40e05704a94f7d4467f3474b1dacd70639846
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions