mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-01 13:14:52 +00:00
Fix restart not awaiting
This commit is contained in:
parent
d06e486c8b
commit
d1d789bf20
1 changed files with 2 additions and 2 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue