mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-04 22:34:52 +00:00
Merge branch 'develop' into asyncio
This commit is contained in:
commit
c8468ccdd1
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ class Session:
|
||||||
for i in self.results.values():
|
for i in self.results.values():
|
||||||
i.event.set()
|
i.event.set()
|
||||||
|
|
||||||
if self.client and callable(self.client.disconnect_handler):
|
if not self.is_media and callable(self.client.disconnect_handler):
|
||||||
try:
|
try:
|
||||||
await self.client.disconnect_handler(self.client)
|
await self.client.disconnect_handler(self.client)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue