diff options
author | Ahan Wu <ahanwu@google.com> | 2021-04-07 02:39:31 -0800 |
---|---|---|
committer | Ahan Wu <ahanwu@google.com> | 2021-04-07 02:47:04 -0800 |
commit | eae7d291f9c805aefeb2446a8debca87f81dbd90 (patch) | |
tree | 1b662aecb6e0b063f0b91161d9ff722ba6212619 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 245ce41e59d343414a71d05f866e8d218b4d48dd (diff) |
Fix memory leak due to not removing ended or cancelled tasks
While the tracker session ends abnormaly, we should also remove the task
which is kept by InteractionJankMonitor, or a memory leak happens.
Bug: 184651704
Test: atest FrameworksCoreTests:InteractionJankMonitorTest
Test: atest FrameworksCoreTests:FrameTrackerTest
Change-Id: I56f7759ef39d34cedc795042d3210d9be375cf77
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions