mirror of
https://github.com/phin05/discord-rich-presence-plex
synced 2024-11-22 01:23:02 +00:00
Update discordRichPresencePlex.py
This commit is contained in:
parent
642dd3f462
commit
0ab038f483
1 changed files with 7 additions and 0 deletions
|
@ -79,6 +79,13 @@ class discordRichPresence:
|
|||
self.process.kill()
|
||||
try:
|
||||
self.pipeWriter.close()
|
||||
except:
|
||||
pass
|
||||
try:
|
||||
self.loop.run_until_complete(self.pipeReader.read(1024))
|
||||
except:
|
||||
pass
|
||||
try:
|
||||
self.loop.close()
|
||||
except:
|
||||
pass
|
||||
|
|
Loading…
Reference in a new issue