Send kill instead of terminate when quiting play command on client

This commit is contained in:
Ruben van de Ven 2019-11-08 10:55:44 +01:00
parent a325b0482a
commit 09dd9d52f4
1 changed files with 2 additions and 2 deletions

View File

@ -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: