allow token to kill itself

This commit is contained in:
Jeremy Penner 2011-09-15 18:16:10 -04:00
parent d8b3317fcf
commit b9dd53eea1

View file

@ -492,9 +492,10 @@ class Token(Taggable):
def die(self): def die(self):
self.tasklet.kill()
self.fRunning = False self.fRunning = False
Taggable.die(self) Taggable.die(self)
self.tasklet.kill() # the token may be killing itself; make sure it's properly marked as dead before killing the tasklet
def run(self): def run(self):
pass pass