summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Kean Mariotti <keanmariotti@google.com> 2024-08-22 09:15:30 +0000
committer Kean Mariotti <keanmariotti@google.com> 2024-08-22 09:23:45 +0000
commit3c805115ec0b44703b6a5960d05fde5376cb353a (patch)
tree08942673284ce2abcd7a583174f13ad5480af31d /api/api_test.go
parent3ffa9b59f389ea651bf0c96084fa2f99283264ad (diff)
fix WM instance leaks
WindowTracingDataSource used to hold a reference to WindowTracing that prevented WindowTracing (and in turn WindowManager) from being garbage collected. This CL solves the issue replacing that reference with a WeakReference object. Flag: android.tracing.perfetto_wm_tracing Bug: 323165543 Test: atest com.android.server.wm.SystemServicesTestRuleTest#testRule_ranSuccessfully Change-Id: Ib1c23fb920ae92a192ca870991778c49a148a798
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions