summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crocoite/browser.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/crocoite/browser.py b/crocoite/browser.py
index b4ade56..4fe37d8 100644
--- a/crocoite/browser.py
+++ b/crocoite/browser.py
@@ -325,6 +325,7 @@ def ChromeService (binary='google-chrome-stable', host='localhost', port=9222, w
p = subprocess.Popen (args, pass_fds=[s.fileno()], start_new_session=True,
stdin=subprocess.DEVNULL, stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL)
+ s.close ()
# must be wrapped in try-finally, otherwise code in __exit__/finally is not
# executed