Kaydet (Commit) 7ef28e8b authored tarafından Brian Curtin's avatar Brian Curtin

Close stdout, clear ResourceWarning

üst 57160d72
......@@ -249,6 +249,7 @@ def _have_soundcard():
p = subprocess.Popen([cscript_path, check_script],
stdout=subprocess.PIPE)
__have_soundcard_cache = not p.wait()
p.stdout.close()
return __have_soundcard_cache
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment