commit | 0daae6aacc7b4de111edb28dd2d9013e97843557 | [log] [tgz] |
---|---|---|
author | Matt Buckley <mattbuckley@google.com> | Thu Sep 14 22:56:50 2023 +0000 |
committer | Matt Buckley <mattbuckley@google.com> | Tue Sep 19 21:41:40 2023 +0000 |
tree | 15f6790e0cbfa9baf178a8af49a91422361f9196 | |
parent | 0c6683683e370e591a5c45ea24d9b5f48d250f5c [diff] |
Mitigation for mass GC deletion Delete sessions after 2 seconds from when CC::destroy() is called, to ensure they get the chance to be re-used without being destroyed but still get destroyed if they aren't re-used. This also adds several new unit tests around the functionality to ensure its thread-safety. Test: hwuitest Bug: 300360668 Change-Id: Icc35293ff49e14dc3599fc12d153f70acd29042a