allow token to kill itself
This commit is contained in:
parent
d8b3317fcf
commit
b9dd53eea1
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue