diff options
author | Ryan Volz <rvolz@mit.edu> | 2020-04-13 15:18:09 -0400 |
---|---|---|
committer | michael-west <michael.west@ettus.com> | 2020-07-09 09:33:05 -0700 |
commit | f0fd3619cfe6f343b3c0ac9bff0dc1010905443e (patch) | |
tree | 10dfb2e97aa2839df38e1a314f08fb2a7c15576a /images | |
parent | 74c381f5e4c28bc794720ed2a46e2ec62d0fa2f7 (diff) | |
download | uhd-f0fd3619cfe6f343b3c0ac9bff0dc1010905443e.tar.gz uhd-f0fd3619cfe6f343b3c0ac9bff0dc1010905443e.tar.bz2 uhd-f0fd3619cfe6f343b3c0ac9bff0dc1010905443e.zip |
uhd: Make sure generated file is closed
Letting garbage collection close the file works when using CPython, but
it fails with PyPy which uses a different garbage collection strategy.
This makes sure that the file is closed by using a file context manager.
Diffstat (limited to 'images')
0 files changed, 0 insertions, 0 deletions