Commit e280f60c authored by Melroy van den Berg's avatar Melroy van den Berg

fix closing iosync thread

parent 5a6d1bfb
"""
Helper module for starting a process with async I/O,
starting Firefox
"""
import asyncio
import sys
from time import sleep
......@@ -72,7 +76,7 @@ def startFirefox():
status = loop.run_until_complete(
run_command("firefox", "site/index.html", timeout=180))
if status:
if loop is not None:
loop.close()
return status
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