Commit taken messages on kill

Fixes 2879
This commit is contained in:
Aldo Cortesi 2018-05-12 11:39:44 +12:00
parent 9f83b6b944
commit 260f729092

View File

@ -113,6 +113,8 @@ class Reply:
def kill(self, force=False): def kill(self, force=False):
self.send(exceptions.Kill, force) self.send(exceptions.Kill, force)
if self._state == "taken":
self.commit()
def send(self, msg, force=False): def send(self, msg, force=False):
if self.state not in {"start", "taken"}: if self.state not in {"start", "taken"}: