mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-04-20 23:56:34 -04:00
fix unclosed file warnings when running python in debug mode
This commit is contained in:
parent
56e01b9078
commit
6086bfe4b4
@ -308,6 +308,8 @@ class Chrome:
|
||||
'SIGKILL', self.chrome_process.pid, status)
|
||||
|
||||
finally:
|
||||
self.chrome_process.stdout.close()
|
||||
self.chrome_process.stderr.close()
|
||||
try:
|
||||
self._home_tmpdir.cleanup()
|
||||
except:
|
||||
|
Loading…
x
Reference in New Issue
Block a user