diff options
author | Marvin Scholz <epirat07@gmail.com> | 2022-03-30 18:16:20 +0200 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-03-30 16:04:23 -0400 |
commit | 4b97c6065043e4268425bebec35f5c3722f73c2e (patch) | |
tree | 44ac70e36f5b296bc157d8c2a462b2d28b4a2bf8 /run_tests.py | |
parent | be63e77949657b2d7994d49bc04dd43a031d5aed (diff) | |
download | meson-4b97c6065043e4268425bebec35f5c3722f73c2e.zip meson-4b97c6065043e4268425bebec35f5c3722f73c2e.tar.gz meson-4b97c6065043e4268425bebec35f5c3722f73c2e.tar.bz2 |
compilers/gnu: use Popen_safe to prevent resource leaks
Fixes the following ResourceWarnings:
ResourceWarning: subprocess 25556 is still running
_warn("subprocess %s is still running" % self.pid,
ResourceWarning: Enable tracemalloc to get the object allocation traceback
mesonbuild/compilers/mixins/gnu.py:195: ResourceWarning: unclosed file <_io.BufferedReader name=4>
return gnulike_default_include_dirs(tuple(self.exelist), self.language).copy()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
Diffstat (limited to 'run_tests.py')
0 files changed, 0 insertions, 0 deletions