Send kill instead of terminate when quiting play command on client
This commit is contained in:
parent
a325b0482a
commit
09dd9d52f4
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue