launch Flash in threaded mode, to support multiple concurrent connections (#117)

This commit is contained in:
Micah Lee 2014-09-22 19:30:10 +00:00
parent 43a24a19d2
commit 8892126155

View File

@ -193,7 +193,7 @@ def shutdown(shutdown_slug_candidate):
def start(port, stay_open=False):
set_stay_open(stay_open)
app.run(port=port)
app.run(port=port, threaded=True)
def stop(port):
# to stop flask, load http://127.0.0.1:<port>/<shutdown_slug>/shutdown