From ddcf8e4dcd81c701644080b956411051e56f527e Mon Sep 17 00:00:00 2001 From: Kacper Podpora <21959209+PanKlipcio@users.noreply.github.com> Date: Mon, 7 Jun 2021 00:36:45 +0200 Subject: [PATCH] Small fix in event loop --- singyeong/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/singyeong/client.py b/singyeong/client.py index fdf1314..b8ec6fd 100644 --- a/singyeong/client.py +++ b/singyeong/client.py @@ -37,7 +37,7 @@ def __init__(self, dsn, *, loop=None): self._metadata = {} self._closing = False - self._ready = asyncio.Event() + self._ready = asyncio.Event(loop=loop) @property def latency(self):