The main process that spawn sub processes doesn't run any loop.

let's not try to stop one
This commit is contained in:
Nicolas Delaby 2017-04-28 19:57:49 +02:00
parent 8b13e103fd
commit c3abdab9c4

View File

@ -522,5 +522,3 @@ def serve_multiple(server_settings, workers):
for process in processes: for process in processes:
process.terminate() process.terminate()
server_settings.get('sock').close() server_settings.get('sock').close()
asyncio.get_event_loop().stop()