mirror of
https://github.com/pyrogram/pyrogram
synced 2025-09-03 15:55:37 +00:00
Fix restart not awaiting
This commit is contained in:
@@ -204,8 +204,8 @@ class Session:
|
||||
log.debug("Session stopped")
|
||||
|
||||
async def restart(self):
|
||||
self.stop()
|
||||
self.start()
|
||||
await self.stop()
|
||||
await self.start()
|
||||
|
||||
async def net_worker(self):
|
||||
log.info("NetWorkerTask started")
|
||||
|
Reference in New Issue
Block a user