From 09dd9d52f4c5effa9a0e07e0922d24b19d67fc85 Mon Sep 17 00:00:00 2001 From: Ruben van de Ven Date: Fri, 8 Nov 2019 10:55:44 +0100 Subject: [PATCH] Send kill instead of terminate when quiting play command on client --- hugvey/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hugvey/client.py b/hugvey/client.py index 566b5ca..5d5805c 100644 --- a/hugvey/client.py +++ b/hugvey/client.py @@ -289,7 +289,7 @@ class CommandHandler(object): if self.playPopen: logger.info("Interrupting playback of {}".format(self.playingMsgId)) - self.playPopen.terminate() + self.playPopen.kill() err = None if file is None and text is None: @@ -366,7 +366,7 @@ class CommandHandler(object): # prevent a lock of the story, no repeat or anything for now logger.critical("Interrupting playback after timeout: {}".format(self.playingMsgId)) - self.playPopen.terminate() + self.playPopen.kill() def cmdStop(self, msgId): if self.playPopen and self.playingMsgId == msgId: