diff --git a/engine.py b/engine.py index b923f3d..55f9211 100644 --- a/engine.py +++ b/engine.py @@ -492,9 +492,10 @@ class Token(Taggable): def die(self): - self.tasklet.kill() self.fRunning = False 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): pass