summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2019-07-24 15:40:57 -0700
committerJosh Gao <jmgao@google.com>2019-07-24 15:40:57 -0700
commit6ca916a657cd56158212a57601108716ce78cbe8 (patch)
treed64b843160613a6df31d1b370b37160a810e9c02 /tools/aapt2/java/JavaClassGenerator_test.cpp
parente691553aa6efe0ae226f198918d0887f524d917d (diff)
SharedMemory: break Cleaner reference cycle.
Previously, the Cleaner we create to close the ashmem file descriptor used a thunk that held a strong reference to the FileDescriptor we wanted to clean up, which prevented the Cleaner from ever running. Break the cycle by storing the integer value of the file descriptor instead. Bug: http://b/138323667 Test: treehugger Change-Id: I613a7d035892032f9567d59acb04672957c96011
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions