We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e54609 commit 633e115Copy full SHA for 633e115
1 file changed
pyrogram/client/ext/dispatcher.py
@@ -130,7 +130,7 @@ async def fn():
130
for lock in self.locks_list:
131
lock.release()
132
133
- asyncio.get_event_loop().run_until_complete(fn())
+ asyncio.get_event_loop().create_task(fn())
134
135
def remove_handler(self, handler, group: int):
136
async def fn():
@@ -146,7 +146,7 @@ async def fn():
146
147
148
149
150
151
async def update_worker(self, lock):
152
while True:
0 commit comments