summaryrefslogtreecommitdiff
path: root/startop/scripts/lib/print_utils.py
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2019-07-24 15:40:57 -0700
committerJosh Gao <jmgao@google.com>2019-07-25 12:13:15 -0700
commit390d9e6a1806626eb521d55a36b1578d28714cc8 (patch)
tree6a78483a1db38f7cbe3604e74b5f7ba38f8ac2bd /startop/scripts/lib/print_utils.py
parent16e2397de5a4046bd2ca850f36aedee40206c60e (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 (cherry picked from commit 6ca916a657cd56158212a57601108716ce78cbe8)
Diffstat (limited to 'startop/scripts/lib/print_utils.py')
0 files changed, 0 insertions, 0 deletions