Commit d061b4fa authored by fred's avatar fred

stamina: kill player after timeout

parent d3b467ae
......@@ -112,7 +112,7 @@ class Command(BaseCommand):
try:
await asyncio.wait_for(self.player.communicate(), timeout=timeout)
except asyncio.TimeoutError:
pass
self.player.kill()
self.player = None
async def play(self, slot):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment