diff --git a/smart_kit/start_points/main_loop_async_http.py b/smart_kit/start_points/main_loop_async_http.py index 0ef9664e..0ceb9eeb 100644 --- a/smart_kit/start_points/main_loop_async_http.py +++ b/smart_kit/start_points/main_loop_async_http.py @@ -101,7 +101,7 @@ def run(self): if not aiohttp_config: log("aiohttp.yml is empty or missing. Server will be started with default parameters", level="WARN") asyncio.get_event_loop().run_until_complete(self.async_init()) - aiohttp.web.run_app(app=self.app, **aiohttp_config) + aiohttp.web.run_app(app=self.app, loop=asyncio.get_event_loop(), **aiohttp_config) def stop(self, signum, frame): pass