diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2023-01-08 01:08:21 -0500 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2023-02-19 02:55:58 +0530 |
commit | af1fbf5b62d89f7ed2e169ae1c602cbf2eb98487 (patch) | |
tree | 29974379b3bd6cb599ef9caca3f0435fe408d3e6 /docs/markdown/snippets | |
parent | 5f65d5955142a92b1b41787ad7eff2736d6bde99 (diff) | |
download | meson-af1fbf5b62d89f7ed2e169ae1c602cbf2eb98487.zip meson-af1fbf5b62d89f7ed2e169ae1c602cbf2eb98487.tar.gz meson-af1fbf5b62d89f7ed2e169ae1c602cbf2eb98487.tar.bz2 |
wrap: ensure the tempfile used for downloading is closed
This is generally a good idea, and the tempfile is already instructed to
not auto-delete on close. It also fixes a bug on PyPy, where the file
isn't valid because it's not explicitly closed. This is probably due to
the garbage collection modes -- in CPython, the object goes out of scope
and gets automatically closed before we actually attempt to unpack it.
Fixes #11246
Diffstat (limited to 'docs/markdown/snippets')
0 files changed, 0 insertions, 0 deletions