summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAhan Wu <ahanwu@google.com>2021-03-09 00:03:39 +0800
committerAhan Wu <ahanwu@google.com>2021-03-09 18:15:43 +0000
commit032d7a0b53d4643ccfda9d2958ba169b6348fc96 (patch)
treeb34b7242dafea4b0e8c1a1b05fad3cdd8d932a43 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent779ea7feb32075fe3e07b95e0cedc9deca312e53 (diff)
Always remove the observers in cancel to avoid object leakage
We didn't remove the observers if the cancel invocation came from end(), this caused leakage of FrameTracker, so we always remove the observers no matter where the cancel invocation comes from. Bug: 181683700 Test: atest FrameworksCoreTests:InteractionJankMonitorTest FrameworksCoreTests: FrameTrackerTest Change-Id: Ia03ebc3b579257dd387eaa1be65b9d22e7b7bf91
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions