From c3abdab9c46e10dba5dfa4b84c1f678f75bb0540 Mon Sep 17 00:00:00 2001 From: Nicolas Delaby Date: Fri, 28 Apr 2017 19:57:49 +0200 Subject: [PATCH] The main process that spawn sub processes doesn't run any loop. let's not try to stop one --- sanic/server.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/sanic/server.py b/sanic/server.py index a963c59e..88ad339a 100644 --- a/sanic/server.py +++ b/sanic/server.py @@ -522,5 +522,3 @@ def serve_multiple(server_settings, workers): for process in processes: process.terminate() server_settings.get('sock').close() - - asyncio.get_event_loop().stop()