summaryrefslogtreecommitdiff
path: root/libs/androidfw/ApkParsing.cpp
diff options
context:
space:
mode:
author Aleksandar Kiridzic <kiridza@google.com> 2022-12-20 22:47:42 +0000
committer Aleksandar Kiridžić <kiridza@google.com> 2023-01-26 11:08:31 +0000
commit03c345ad693feade28b41b9b04e1572c395b9a06 (patch)
tree7027ca86226cd1cb50c59a649fbb39bb1ea423fd /libs/androidfw/ApkParsing.cpp
parent323385219350c060bbfa2d63e50e7c19ec7e04c5 (diff)
TTS: Fix binders leak due to a circular dependency
A circular dependency was found which keeps binders alive even after shutdown: [client] SystemConnection --> SystemConnection#ITextToSpeechSession --> [server] TextToSpeechSessionConnection --> TextToSpeechSessionConnection#ITextToSpeechSessionCallback --> [client] SystemConnection --> ... Anulling SystemConnection#ITextToSpeechSession and TextToSpeechSessionConnection#ITextToSpeechSessionCallback on disconnection should make it available for garbage collection since then no intra-process references would remain. Fix confirmed with ahat. Bug: 233615470 Test: atest Change-Id: I7c9d25b7306d9ce68098c5a6ba0e65711daa3c25
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions