summaryrefslogtreecommitdiff
path: root/libs/gui/LayerDebugInfo.cpp
diff options
context:
space:
mode:
author Fan Xu <fanxu@google.com> 2018-11-15 16:46:55 -0800
committer Fan Xu <fanxu@google.com> 2018-11-28 11:17:57 -0800
commitd6cd6ba6d387d1d6e1c8cd8077ff6ae596fb7065 (patch)
treed41ba606e35152af765df57072c10c995c930a7c /libs/gui/LayerDebugInfo.cpp
parent910c0aa1384ee3122a4d3929ca3b94943a3dc539 (diff)
Add garbage collecion function to BufferHubService
Now BufferHubService will cleanup unused BufferClient automatically. If the mClientList storing weak pointer, when user side's strong pointer dies, the refcount will become 0 and the allocated memory in the service will get freed. Test: BufferHubBuffer_test (passed) Bug: 119623209 Change-Id: I1390f878bf44afd7c1a5cccaeb34a9d13dab3db0
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions