Reset notified_by list per serialized batch
Fixes the case where a handler attempts to run for every batch after any batch has notified it, regardless of whether the current batch did.
This commit is contained in:
parent
a56e1f31fa
commit
b8d6dec5ad
1 changed files with 1 additions and 0 deletions
|
@ -444,6 +444,7 @@ class PlayBook(object):
|
|||
self.inventory.restrict_to(handler.notified_by)
|
||||
self._run_task(play, handler, True)
|
||||
self.inventory.lift_restriction()
|
||||
handler.notified_by = []
|
||||
|
||||
self.inventory.lift_also_restriction()
|
||||
|
||||
|
|
Loading…
Reference in a new issue