summaryrefslogtreecommitdiff
path: root/startop/scripts/lib/print_utils.py
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2019-07-26 12:19:56 -0700
committerJohn Reck <jreck@google.com>2019-07-26 23:19:05 +0000
commit12ea937f8f22987654f7a04f025570c29876962c (patch)
tree2f76960a76556ccb2ca7fbd7577716a00047e216 /startop/scripts/lib/print_utils.py
parent5818412305a0c2fbaa399874ca00d479dd20d135 (diff)
Fix regression in PFD#fromData
Don't rely on the GC to clean up FD resources when they can just be cleaned up immediately. We know the MemoryFile isn't going to be used any further, so just close it. Bug: 138323667 Test: Repro steps in bug. Verified addresses FD leak in system_server from repeatedly opening & closing settings. Change-Id: Ic82006c9cb48f580aaad942c4679e774186382c9
Diffstat (limited to 'startop/scripts/lib/print_utils.py')
0 files changed, 0 insertions, 0 deletions