Update discordRichPresencePlex.py

This commit is contained in:
Phin 2018-06-11 04:44:50 +05:30
parent 642dd3f462
commit 0ab038f483

View file

@ -79,6 +79,13 @@ class discordRichPresence:
self.process.kill() self.process.kill()
try: try:
self.pipeWriter.close() self.pipeWriter.close()
except:
pass
try:
self.loop.run_until_complete(self.pipeReader.read(1024))
except:
pass
try:
self.loop.close() self.loop.close()
except: except:
pass pass